| Index: components/browser_sync/profile_sync_service.cc
|
| diff --git a/components/browser_sync/profile_sync_service.cc b/components/browser_sync/profile_sync_service.cc
|
| index 5eb7949df19312fb33f3f7d137fa9432ae7ff581..753205b2f1c230c08af6f149db50bfd19692d792 100644
|
| --- a/components/browser_sync/profile_sync_service.cc
|
| +++ b/components/browser_sync/profile_sync_service.cc
|
| @@ -2223,7 +2223,9 @@ void ProfileSyncService::RequestStop(SyncStopDataFate data_fate) {
|
|
|
| bool ProfileSyncService::IsSyncRequested() const {
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
| - return sync_prefs_.IsSyncRequested();
|
| + // When local sync is on sync should be considered requsted or otherwise it
|
| + // will not resume after the policy or the flag has been removed.
|
| + return sync_prefs_.IsSyncRequested() || sync_prefs_.IsLocalSyncEnabled();
|
| }
|
|
|
| SigninManagerBase* ProfileSyncService::signin() const {
|
|
|