diff options
| author | satorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-01 06:56:44 +0000 |
|---|---|---|
| committer | satorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-01 06:56:44 +0000 |
| commit | 1f82195650ce727134f859229813240e4446f4ad (patch) | |
| tree | 0d625249558709f6dae2eb3fd5e1a70e84651305 /chrome/browser/chromeos/cros_settings_provider_user.h | |
| parent | 9cc688d8459548d09a9efdd9e1e626c40f3b5b34 (diff) | |
| download | chromium_src-1f82195650ce727134f859229813240e4446f4ad.zip chromium_src-1f82195650ce727134f859229813240e4446f4ad.tar.gz chromium_src-1f82195650ce727134f859229813240e4446f4ad.tar.bz2 | |
Prohibit the guest from making any changes to the cros settings.
We should not allow the guest to change global settings.
TEST=confirmed that the stats/crash reporting setting worked as before
BUG=chromium-os:8239
Review URL: http://codereview.chromium.org/4197007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64579 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/cros_settings_provider_user.h')
| -rw-r--r-- | chrome/browser/chromeos/cros_settings_provider_user.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/chromeos/cros_settings_provider_user.h b/chrome/browser/chromeos/cros_settings_provider_user.h index c9ac4d9..3fafa41 100644 --- a/chrome/browser/chromeos/cros_settings_provider_user.h +++ b/chrome/browser/chromeos/cros_settings_provider_user.h @@ -40,7 +40,6 @@ class UserCrosSettingsProvider : public CrosSettingsProvider, static bool IsEmailInCachedWhitelist(const std::string& email); // CrosSettingsProvider implementation. - virtual void Set(const std::string& path, Value* in_value); virtual bool Get(const std::string& path, Value** out_value) const; virtual bool HandlesSetting(const std::string& path); @@ -59,6 +58,9 @@ class UserCrosSettingsProvider : public CrosSettingsProvider, static void UpdateCachedOwner(const std::string& email); private: + // CrosSettingsProvider implementation. + virtual void DoSet(const std::string& path, Value* value); + void StartFetchingBoolSetting(const std::string& name); void StartFetchingStringSetting(const std::string& name); void StartFetchingSetting(const std::string& name); |
