summaryrefslogtreecommitdiffstats
path: root/base/values.h
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-15 01:11:02 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-15 01:11:02 +0000
commita6b0810ce805601284fe04881600ad4625de22ab (patch)
tree8263186d96949802d577b76676dfd918d215b243 /base/values.h
parentb68b51efeb0edeb94bf11deebbc547e7e0008f4f (diff)
downloadchromium_src-a6b0810ce805601284fe04881600ad4625de22ab.zip
chromium_src-a6b0810ce805601284fe04881600ad4625de22ab.tar.gz
chromium_src-a6b0810ce805601284fe04881600ad4625de22ab.tar.bz2
Get rid of use of CreateStringValue in chromeos/ directory.
BUG=160586 Review URL: https://chromiumcodereview.appspot.com/11363203 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167808 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/values.h')
-rw-r--r--base/values.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/base/values.h b/base/values.h
index d7263df..6b65005 100644
--- a/base/values.h
+++ b/base/values.h
@@ -66,10 +66,9 @@ class BASE_EXPORT Value {
virtual ~Value();
- // Convenience methods for creating Value objects for various
- // kinds of values without thinking about which class implements them.
- // These can always be expected to return a valid Value*.
static Value* CreateNullValue();
+ // DEPRECATED: Do not use the following 5 functions. Instead, use
+ // new FundamentalValue or new StringValue.
static FundamentalValue* CreateBooleanValue(bool in_value);
static FundamentalValue* CreateIntegerValue(int in_value);
static FundamentalValue* CreateDoubleValue(double in_value);