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..9916c5dc3eaf09fa7c4628c53fc5ca16d79d338b 100644 |
--- a/chrome/browser/sync/profile_sync_service_observer.h |
+++ b/chrome/browser/sync/profile_sync_service_observer.h |
@@ -16,6 +16,11 @@ 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(); |
+ |
protected: |
virtual ~ProfileSyncServiceObserver() { } |
}; |