summaryrefslogtreecommitdiffstats
path: root/base/values.h
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-11 17:43:01 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-11 17:43:01 +0000
commit519140983be01363138a1766d05fd5ff34bad34c (patch)
tree7ce8545c9ba0d16283f31bc1c5c1eac205e91d35 /base/values.h
parent549dee7b194be31c61ae859ef2dc12eb6a879531 (diff)
downloadchromium_src-519140983be01363138a1766d05fd5ff34bad34c.zip
chromium_src-519140983be01363138a1766d05fd5ff34bad34c.tar.gz
chromium_src-519140983be01363138a1766d05fd5ff34bad34c.tar.bz2
base: Remove CreateBinaryValue() function as it's redundant.
It does the same thing of BinaryValue::Create(), it's more verbose, and used only in unittest. BUG=None TEST=None R=evan@chromium.org Review URL: http://codereview.chromium.org/7623017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96413 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/values.h')
-rw-r--r--base/values.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/base/values.h b/base/values.h
index bf54bd1..8f427ab 100644
--- a/base/values.h
+++ b/base/values.h
@@ -76,10 +76,6 @@ class BASE_EXPORT Value {
static StringValue* CreateStringValue(const std::string& in_value);
static StringValue* CreateStringValue(const string16& in_value);
- // This one can return NULL if the input isn't valid. If the return value
- // is non-null, the new object has taken ownership of the buffer pointer.
- static BinaryValue* CreateBinaryValue(char* buffer, size_t size);
-
// Returns the type of the value stored by the current Value object.
// Each type will be implemented by only one subclass of Value, so it's
// safe to use the ValueType to determine whether you can cast from