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

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: rename less confusing 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
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..0c6f08d115c294e61cec80297a08eb43bfcb5a24 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 CommitPendingWrites() = 0;
};
#endif // CHROME_COMMON_PERSISTENT_PREF_STORE_H_
« chrome/browser/chromeos/cros/login_library.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