diff options
author | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-12 19:15:03 +0000 |
---|---|---|
committer | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-12 19:15:03 +0000 |
commit | f3a1c64a4d81c412273ed567536f23c2c14813a2 (patch) | |
tree | f0ced21805b18546e879413e4f808dd4f683c534 /chrome/browser/chromeos/cros_settings_provider.h | |
parent | 2338319a9acbaecba44243740b3f01b5c408a78a (diff) | |
download | chromium_src-f3a1c64a4d81c412273ed567536f23c2c14813a2.zip chromium_src-f3a1c64a4d81c412273ed567536f23c2c14813a2.tar.gz chromium_src-f3a1c64a4d81c412273ed567536f23c2c14813a2.tar.bz2 |
Move base/values.h into the base namespace. This includes a cros DEPS roll
with a minor change to that code since libcros also uses base/values.h.
BUG=88666
TEST=none
Review URL: http://codereview.chromium.org/7259019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92208 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/cros_settings_provider.h')
-rw-r--r-- | chrome/browser/chromeos/cros_settings_provider.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/chrome/browser/chromeos/cros_settings_provider.h b/chrome/browser/chromeos/cros_settings_provider.h index 0cb7fe1..ee88cf7 100644 --- a/chrome/browser/chromeos/cros_settings_provider.h +++ b/chrome/browser/chromeos/cros_settings_provider.h @@ -7,7 +7,9 @@ #include <string> +namespace base { class Value; +} namespace chromeos { @@ -17,18 +19,18 @@ class CrosSettingsProvider { // Sets |in_value| to given |path| in cros settings. // Note that this takes ownership of |in_value|. - void Set(const std::string& path, Value* in_value); + void Set(const std::string& path, base::Value* in_value); // Gets settings value of given |path| to |out_value|. // Note that |out_value| is owned by the caller, not this class. - virtual bool Get(const std::string& path, Value** out_value) const = 0; + virtual bool Get(const std::string& path, base::Value** out_value) const = 0; // Gets the namespace prefix provided by this provider virtual bool HandlesSetting(const std::string& path) = 0; private: // Does the real job for Set(). - virtual void DoSet(const std::string& path, Value* in_value) = 0; + virtual void DoSet(const std::string& path, base::Value* in_value) = 0; }; } // namespace chromeos |