BinaryValue support for NULL buffer.

* Apply original change from CL 10389088 (https://chromiumcodereview.appspot.com/10389088)

* Change BinaryValue to use "scoped_ptr<char[]>" instead of "scoped_ptr<char>". By contract, the memory owned should be deleted with the "delete[]" operator.

BUG=127630

Review URL: https://chromiumcodereview.appspot.com/11745016

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175482 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: 2d6504b7c1dec56a67869965ae753c58c154ca91
3 files changed
tree: 48521868e0a83db14b59a49cf9951a9e5e69b2fe
  1. base/
  2. build/
  3. dbus/
  4. ipc/
  5. testing/
  6. third_party/