| 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_;
|
|
|