diff options
author | bauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-15 09:51:50 +0000 |
---|---|---|
committer | bauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-15 09:51:50 +0000 |
commit | 8703b2b019d923536a9ad4a8eda2053aa7c7472e (patch) | |
tree | be668fd7d482d45f80f6d7b074e7cf442318cb51 /base/values.h | |
parent | 2c48f9216fe490c9bfe33b6ed0fa063d6d67e220 (diff) | |
download | chromium_src-8703b2b019d923536a9ad4a8eda2053aa7c7472e.zip chromium_src-8703b2b019d923536a9ad4a8eda2053aa7c7472e.tar.gz chromium_src-8703b2b019d923536a9ad4a8eda2053aa7c7472e.tar.bz2 |
Move FilePath <-> Value conversions into a separate file.
BUG=75276
TEST=none
Review URL: http://codereview.chromium.org/6691011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78182 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/values.h')
-rw-r--r-- | base/values.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/base/values.h b/base/values.h index 5814a9f..8dc9f25 100644 --- a/base/values.h +++ b/base/values.h @@ -33,7 +33,6 @@ class BinaryValue; class DictionaryValue; -class FilePath; class FundamentalValue; class ListValue; class StringValue; @@ -69,7 +68,6 @@ class Value { static FundamentalValue* CreateDoubleValue(double in_value); static StringValue* CreateStringValue(const std::string& in_value); static StringValue* CreateStringValue(const string16& in_value); - static StringValue* CreateFilePathValue(const FilePath& 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. @@ -94,7 +92,6 @@ class Value { virtual bool GetAsDouble(double* out_value) const; virtual bool GetAsString(std::string* out_value) const; virtual bool GetAsString(string16* out_value) const; - virtual bool GetAsFilePath(FilePath* out_value) const; virtual bool GetAsList(ListValue** out_value); // This creates a deep copy of the entire Value tree, and returns a pointer @@ -162,7 +159,6 @@ class StringValue : public Value { // Subclassed methods virtual bool GetAsString(std::string* out_value) const; virtual bool GetAsString(string16* out_value) const; - virtual bool GetAsFilePath(FilePath* out_value) const; virtual StringValue* DeepCopy() const; virtual bool Equals(const Value* other) const; |