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

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

Issue 14655009: Client changes for disabled dasher account (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comment 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
« no previous file with comments | « chrome/browser/profiles/profile.cc ('k') | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/profile_sync_service.h
diff --git a/chrome/browser/sync/profile_sync_service.h b/chrome/browser/sync/profile_sync_service.h
index c6ba13331a5b898d8c394dabd71c887cbae64223..c8f8e0396766ba4dfb2d8e772ad8b20f3696637c 100644
--- a/chrome/browser/sync/profile_sync_service.h
+++ b/chrome/browser/sync/profile_sync_service.h
@@ -848,6 +848,11 @@ class ProfileSyncService : public ProfileSyncServiceBase,
// Whether the SyncBackendHost has been initialized.
bool backend_initialized_;
+ // Set when sync receives DISABLED_BY_ADMIN error from server. Prevents
+ // ProfileSyncService from starting backend till browser restarted or user
+ // signed out.
+ bool sync_disabled_by_admin_;
+
// Set to true if a signin has completed but we're still waiting for the
// backend to refresh its credentials.
bool is_auth_in_progress_;
« no previous file with comments | « chrome/browser/profiles/profile.cc ('k') | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698