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

Unified Diff: chrome/browser/sync/profile_sync_service_observer.h

Issue 15580002: Make use of InvalidationService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Responses to Fred's comments Created 7 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
Index: chrome/browser/sync/profile_sync_service_observer.h
diff --git a/chrome/browser/sync/profile_sync_service_observer.h b/chrome/browser/sync/profile_sync_service_observer.h
index de8c997ed50c1ea53f713e98a47978a4dad1b093..5c648df0b97798061d60783f77c1e560eb8d5222 100644
--- a/chrome/browser/sync/profile_sync_service_observer.h
+++ b/chrome/browser/sync/profile_sync_service_observer.h
@@ -16,6 +16,10 @@ class ProfileSyncServiceObserver {
// - The sync servers are unavailable at this time.
// - Credentials are now in flight for authentication.
virtual void OnStateChanged() = 0;
+
+ // If a client wishes to handle sync cycle completed events in a special way,
+ // they can use this function. By default, it re-routes to OnStateChanged().
+ virtual void OnSyncCycleCompleted();
akalin 2013/06/04 19:23:54 newline before protected:
rlarocque 2013/06/04 22:38:16 Done.
protected:
virtual ~ProfileSyncServiceObserver() { }
};

Powered by Google App Engine
This is Rietveld 408576698