Chromium Code Reviews| 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..9516aa2e008410960b4fc6431d4bb051081deebb 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,9 @@ class SyncPrefs : NON_EXPORTED_BASE(public base::NonThreadSafe), |
| // This pref is set outside of sync. |
| bool IsManaged() const; |
| + bool IsSyncDisabledByAdmin() const; |
|
Andrew T Wilson (Slow)
2013/05/13 11:51:13
See my previous comment - I don't think this shoul
pavely
2013/05/13 22:37:09
Done.
|
| + 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); |