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

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: Cleanup 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/profile_sync_service.h
diff --git a/chrome/browser/sync/profile_sync_service.h b/chrome/browser/sync/profile_sync_service.h
index cb6731a372544bd580fbfe00a41fc2c2928da022..d6b096f9ab6b6f6aa70a6b08885793aff6cff997 100644
--- a/chrome/browser/sync/profile_sync_service.h
+++ b/chrome/browser/sync/profile_sync_service.h
@@ -844,6 +844,10 @@ 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 restart.
Andrew T Wilson (Slow) 2013/05/24 15:13:10 Technically, I think PSS should try to start the b
pavely 2013/05/24 22:17:11 Done.
+ 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_;

Powered by Google App Engine
This is Rietveld 408576698