Chromium Code Reviews| Index: chrome/browser/chromeos/settings/stub_cros_settings_provider.cc |
| diff --git a/chrome/browser/chromeos/settings/stub_cros_settings_provider.cc b/chrome/browser/chromeos/settings/stub_cros_settings_provider.cc |
| index c11e3c306c2b64dcc97e7dfe84979b0c515dc11e..fcd0b6950175b3eb0580df07236797b25e76f54d 100644 |
| --- a/chrome/browser/chromeos/settings/stub_cros_settings_provider.cc |
| +++ b/chrome/browser/chromeos/settings/stub_cros_settings_provider.cc |
| @@ -45,6 +45,30 @@ bool StubCrosSettingsProvider::HandlesSetting(const std::string& path) const { |
| return DeviceSettingsProvider::IsDeviceSetting(path); |
| } |
| +void StubCrosSettingsProvider::SetBoolean(const std::string& path, |
| + bool in_value) { |
| + base::FundamentalValue value(in_value); |
|
bartfab (slow)
2015/03/31 14:12:41
Nit: const.
|
| + Set(path, value); |
| +} |
| + |
| +void StubCrosSettingsProvider::SetInteger(const std::string& path, |
| + int in_value) { |
| + base::FundamentalValue value(in_value); |
|
bartfab (slow)
2015/03/31 14:12:41
Nit: const.
|
| + Set(path, value); |
| +} |
| + |
| +void StubCrosSettingsProvider::SetDouble(const std::string& path, |
| + double in_value) { |
| + base::FundamentalValue value(in_value); |
|
bartfab (slow)
2015/03/31 14:12:41
Nit: const.
|
| + Set(path, value); |
| +} |
| + |
| +void StubCrosSettingsProvider::SetString(const std::string& path, |
| + const std::string& in_value) { |
| + base::StringValue value(in_value); |
|
bartfab (slow)
2015/03/31 14:12:41
Nit: const.
|
| + Set(path, value); |
| +} |
| + |
| void StubCrosSettingsProvider::DoSet(const std::string& path, |
| const base::Value& value) { |
| values_.SetValue(path, value.DeepCopy()); |