Index: chromeos/settings/cros_settings_provider.cc |
diff --git a/chromeos/settings/cros_settings_provider.cc b/chromeos/settings/cros_settings_provider.cc |
index 98faf718ca788efd615b7daeff331ddc8e26d115..73d559f7a3d77d559a721e87675b2e2a03cf453c 100644 |
--- a/chromeos/settings/cros_settings_provider.cc |
+++ b/chromeos/settings/cros_settings_provider.cc |
@@ -34,6 +34,27 @@ void CrosSettingsProvider::Set(const std::string& path, |
DoSet(path, value); |
} |
+void CrosSettingsProvider::SetBoolean(const std::string& path, bool in_value) { |
+ base::FundamentalValue value(in_value); |
+ Set(path, value); |
+} |
+ |
+void CrosSettingsProvider::SetInteger(const std::string& path, int in_value) { |
+ base::FundamentalValue value(in_value); |
+ Set(path, value); |
+} |
+ |
+void CrosSettingsProvider::SetDouble(const std::string& path, double in_value) { |
+ base::FundamentalValue value(in_value); |
+ Set(path, value); |
+} |
+ |
+void CrosSettingsProvider::SetString(const std::string& path, |
+ const std::string& in_value) { |
+ base::StringValue value(in_value); |
+ Set(path, value); |
+} |
+ |
void CrosSettingsProvider::NotifyObservers(const std::string& path) { |
if (!notify_cb_.is_null()) |
notify_cb_.Run(path); |