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

Unified Diff: chrome/common/persistent_pref_store.h

Issue 6713032: Provide lazy CommitPendingWrites in addition to eager SavePersistentPrefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed notification + rebase Created 9 years, 9 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/important_file_writer.cc ('K') | « chrome/common/json_pref_store.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/persistent_pref_store.h
diff --git a/chrome/common/persistent_pref_store.h b/chrome/common/persistent_pref_store.h
index c79d6783d8a11f24259b04b9fec1722bad771887..300e6497729c5a3d1e4efd828098570c012209fb 100644
--- a/chrome/common/persistent_pref_store.h
+++ b/chrome/common/persistent_pref_store.h
@@ -67,6 +67,9 @@ class PersistentPrefStore : public PrefStore {
// Schedules an asynchronous write operation.
virtual void ScheduleWritePrefs() = 0;
+
+ // Lands any pending writes to disk.
+ virtual void CommitPendingWrite() = 0;
};
#endif // CHROME_COMMON_PERSISTENT_PREF_STORE_H_
« chrome/common/important_file_writer.cc ('K') | « chrome/common/json_pref_store.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698