diff options
Diffstat (limited to 'chrome/browser/sync/profile_sync_service.h')
-rw-r--r-- | chrome/browser/sync/profile_sync_service.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/sync/profile_sync_service.h b/chrome/browser/sync/profile_sync_service.h index 1e9dc4d..d5514040 100644 --- a/chrome/browser/sync/profile_sync_service.h +++ b/chrome/browser/sync/profile_sync_service.h @@ -275,6 +275,9 @@ class ProfileSyncService : public browser_sync::SyncFrontend, virtual void AddObserver(Observer* observer); virtual void RemoveObserver(Observer* observer); + // Returns true if |observer| has already been added as an observer. + bool HasObserver(Observer* observer) const; + // Record stats on various events. static void SyncEvent(SyncEventCodes code); @@ -283,7 +286,7 @@ class ProfileSyncService : public browser_sync::SyncFrontend, // command-line switches). static bool IsSyncEnabled(); - // Retuns whether sync is managed, i.e. controlled by configuration + // Returns whether sync is managed, i.e. controlled by configuration // management. If so, the user is not allowed to configure sync. bool IsManaged(); |