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

Unified Diff: base/prefs/persistent_pref_store.h

Issue 1148323005: Add the ability to schedule any pending lossy prefs to be written. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: oops Created 5 years, 7 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/overlay_user_pref_store.cc ('k') | base/prefs/testing_pref_store.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/prefs/persistent_pref_store.h
diff --git a/base/prefs/persistent_pref_store.h b/base/prefs/persistent_pref_store.h
index e70e2a677e1becd441a4aea253a4d00adda35f42..130bb9c483814d8c0849a05cc28aaa50bf2f29e9 100644
--- a/base/prefs/persistent_pref_store.h
+++ b/base/prefs/persistent_pref_store.h
@@ -67,6 +67,9 @@ class BASE_PREFS_EXPORT PersistentPrefStore : public WriteablePrefStore {
// Lands any pending writes to disk.
virtual void CommitPendingWrite() = 0;
+ // Schedule a write if there is any lossy data pending
Mattias Nissler (ping if slow) 2015/05/28 07:20:24 Nit: Missing period. Also, would be nice to elabo
benwells 2015/05/28 08:49:46 Done.
+ virtual void SchedulePendingLossyWrites() = 0;
+
protected:
~PersistentPrefStore() override {}
};
« no previous file with comments | « base/prefs/overlay_user_pref_store.cc ('k') | base/prefs/testing_pref_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698