Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1076)

Unified Diff: base/prefs/value_map_pref_store.cc

Issue 389333003: Leftover cleanups from https://codereview.chromium.org/324493002 . (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/prefs/value_map_pref_store.h ('k') | base/prefs/writeable_pref_store.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/prefs/value_map_pref_store.cc
diff --git a/base/prefs/value_map_pref_store.cc b/base/prefs/value_map_pref_store.cc
index 5e890e2589fb1a4cc2b78e03c143636239834605..8af12826df370c424dad4566493cf1a7790fda52 100644
--- a/base/prefs/value_map_pref_store.cc
+++ b/base/prefs/value_map_pref_store.cc
@@ -47,6 +47,11 @@ void ValueMapPrefStore::ReportValueChanged(const std::string& key) {
FOR_EACH_OBSERVER(Observer, observers_, OnPrefValueChanged(key));
}
+void ValueMapPrefStore::SetValueSilently(const std::string& key,
+ base::Value* value) {
+ prefs_.SetValue(key, value);
+}
+
ValueMapPrefStore::~ValueMapPrefStore() {}
void ValueMapPrefStore::NotifyInitializationCompleted() {
« no previous file with comments | « base/prefs/value_map_pref_store.h ('k') | base/prefs/writeable_pref_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698