Chromium Code Reviews| 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() { } |
| }; |