summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/cros_settings_provider.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chromeos/cros_settings_provider.h')
-rw-r--r--chrome/browser/chromeos/cros_settings_provider.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/chromeos/cros_settings_provider.h b/chrome/browser/chromeos/cros_settings_provider.h
index c069ce1..36e856e 100644
--- a/chrome/browser/chromeos/cros_settings_provider.h
+++ b/chrome/browser/chromeos/cros_settings_provider.h
@@ -17,7 +17,7 @@ class CrosSettingsProvider {
// Sets |in_value| to given |path| in cros settings.
// Note that this takes ownership of |in_value|.
- virtual void Set(const std::string& path, Value* in_value) = 0;
+ void Set(const std::string& path, Value* in_value);
// Gets settings value of given |path| to |out_value|.
// Note that |out_value| is still owned by this class.
@@ -25,6 +25,10 @@ class CrosSettingsProvider {
// 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;
};
} // namespace chromeos