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

Unified Diff: content/common/notification_type.h

Issue 6713032: Provide lazy CommitPendingWrites in addition to eager SavePersistentPrefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: for test 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/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: content/common/notification_type.h
diff --git a/content/common/notification_type.h b/content/common/notification_type.h
index c91c3f5c783050f2d22bf8aabf15404a0b79b78d..d565abf05dc36b3cd9e07dc7545e676ec2785c5a 100644
--- a/content/common/notification_type.h
+++ b/content/common/notification_type.h
@@ -775,6 +775,12 @@ class NotificationType {
// asynchronous initalization of a PrefService.
PREF_INITIALIZATION_COMPLETED,
+#if defined(OS_CHROMEOS)
+ // Sent after successful write of persistent preferences or if there is
+ // nothing to write on CommitPendingWrite call. Source is PrefService.
+ PREF_COMMITTED,
+#endif
+
// Sent when a default request context has been created, so calling
// Profile::GetDefaultRequestContext() will not return NULL. This is sent
// on the thread where Profile::GetRequestContext() is first called, which
« 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