Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Unified Diff: chrome/browser/sync/sync_prefs.h

Issue 14655009: Client changes for disabled dasher account (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698