| Index: chrome/browser/sync/sync_prefs.h | 
| diff --git a/chrome/browser/sync/sync_prefs.h b/chrome/browser/sync/sync_prefs.h | 
| index e2598664429ed135db6913eb472d5ada5dde28aa..194794131703f9723eb95fd0ca6c5738cbe53e78 100644 | 
| --- a/chrome/browser/sync/sync_prefs.h | 
| +++ b/chrome/browser/sync/sync_prefs.h | 
| @@ -56,11 +56,6 @@ class SyncPrefs : NON_EXPORTED_BASE(public base::NonThreadSafe), | 
|  | 
| static void RegisterUserPrefs(PrefRegistrySyncable* registry); | 
|  | 
| -  // Checks if sync is enabled for the profile that owns |io_data|. This must | 
| -  // be invoked on the IO thread, and can be used to check if sync is enabled | 
| -  // on that thread. | 
| -  static bool IsSyncAccessibleOnIOThread(ProfileIOData* io_data); | 
| - | 
| void AddSyncPrefObserver(SyncPrefObserver* sync_pref_observer); | 
| void RemoveSyncPrefObserver(SyncPrefObserver* sync_pref_observer); | 
|  | 
| @@ -101,6 +96,15 @@ class SyncPrefs : NON_EXPORTED_BASE(public base::NonThreadSafe), | 
| // This pref is set outside of sync. | 
| bool IsManaged() const; | 
|  | 
| +  // IsSyncDisabledByAdmin has the same meaning as IsManaged: sync is disabled | 
| +  // for accounts by domain admin. IsSyncDisabledByAdmin is set to true when | 
| +  // sync server returns DISABLED_BY_ADMIN in ClientToServerResponse. This pref | 
| +  // setting caches the value in order to display settings page correctly. | 
| +  // It is not required to initialise sync backend to display state of sync | 
| +  // buttons on settings page. | 
| +  bool IsSyncDisabledByAdmin() const; | 
| +  void SetSyncDisabledByAdmin(bool value); | 
| + | 
| // Use this encryption bootstrap token if we're using an explicit passphrase. | 
| std::string GetEncryptionBootstrapToken() const; | 
| void SetEncryptionBootstrapToken(const std::string& token); | 
|  |