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

Unified Diff: chrome/service/service_process_prefs.cc

Issue 8198007: Remove PrefService::ScheduleSavePersistentPrefs and SavePersistentPrefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chromeos Created 9 years, 2 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
« chrome/common/json_pref_store.h ('K') | « chrome/common/persistent_pref_store.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/service/service_process_prefs.cc
diff --git a/chrome/service/service_process_prefs.cc b/chrome/service/service_process_prefs.cc
index 8eb29622038a08c679a9de185de8822094016088..511709a7d8f5d5893f0f78d4a6c2b516bf62f24f 100644
--- a/chrome/service/service_process_prefs.cc
+++ b/chrome/service/service_process_prefs.cc
@@ -19,7 +19,7 @@ void ServiceProcessPrefs::ReadPrefs() {
}
void ServiceProcessPrefs::WritePrefs() {
- prefs_->WritePrefs();
+ prefs_->CommitPendingWrite();
}
void ServiceProcessPrefs::GetString(const std::string& key,
« chrome/common/json_pref_store.h ('K') | « chrome/common/persistent_pref_store.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698