summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/cros_settings_provider_stats.h
diff options
context:
space:
mode:
authorsatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-01 06:56:44 +0000
committersatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-01 06:56:44 +0000
commit1f82195650ce727134f859229813240e4446f4ad (patch)
tree0d625249558709f6dae2eb3fd5e1a70e84651305 /chrome/browser/chromeos/cros_settings_provider_stats.h
parent9cc688d8459548d09a9efdd9e1e626c40f3b5b34 (diff)
downloadchromium_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_stats.h')
-rw-r--r--chrome/browser/chromeos/cros_settings_provider_stats.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/chromeos/cros_settings_provider_stats.h b/chrome/browser/chromeos/cros_settings_provider_stats.h
index 1b89702..ff30f25 100644
--- a/chrome/browser/chromeos/cros_settings_provider_stats.h
+++ b/chrome/browser/chromeos/cros_settings_provider_stats.h
@@ -20,7 +20,6 @@ class MetricsCrosSettingsProvider : public CrosSettingsProvider {
MetricsCrosSettingsProvider() {}
// CrosSettingsProvider implementation.
- virtual void Set(const std::string& path, Value* value);
virtual bool Get(const std::string& path, Value** value) const;
virtual bool HandlesSetting(const std::string& path);
@@ -31,6 +30,9 @@ class MetricsCrosSettingsProvider : public CrosSettingsProvider {
static bool GetMetricsStatus();
private:
+ // CrosSettingsProvider implementation.
+ virtual void DoSet(const std::string& path, Value* value);
+
DISALLOW_COPY_AND_ASSIGN(MetricsCrosSettingsProvider);
};