summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorbattre@chromium.org <battre@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-12 09:24:11 +0000
committerbattre@chromium.org <battre@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-12 09:24:11 +0000
commitf5b938588d81c8943521d5135027a75e5e630161 (patch)
tree57f1f22539ac181dd04879a4ede4902109c3a0dd /chrome/common
parentc23f8cfcd8d311838185da90a1d7622d23ad4814 (diff)
downloadchromium_src-f5b938588d81c8943521d5135027a75e5e630161.zip
chromium_src-f5b938588d81c8943521d5135027a75e5e630161.tar.gz
chromium_src-f5b938588d81c8943521d5135027a75e5e630161.tar.bz2
Remove old ScopedUserPrefUpdate
BUG=77914, 58489 TEST=none, tree remains green Review URL: http://codereview.chromium.org/6823037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81232 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/persistent_pref_store.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/chrome/common/persistent_pref_store.h b/chrome/common/persistent_pref_store.h
index 8bd677a..620fee8 100644
--- a/chrome/common/persistent_pref_store.h
+++ b/chrome/common/persistent_pref_store.h
@@ -49,13 +49,9 @@ class PersistentPrefStore : public PrefStore {
virtual void SetValue(const std::string& key, Value* value) = 0;
// Same as SetValue, but doesn't generate notifications. This is used by
- // GetMutableDictionary() and GetMutableList() in order to put empty entries
+ // PrefService::GetMutableUserPref() in order to put empty entries
// into the user pref store. Using SetValue is not an option since existing
// tests rely on the number of notifications generated.
- //
- // TODO(mnissler, danno): Can we replace GetMutableDictionary() and
- // GetMutableList() with something along the lines of ScopedUserPrefUpdate
- // that updates the value in the end?
virtual void SetValueSilently(const std::string& key, Value* value) = 0;
// Removes the value for |key|.