| Index: chrome/browser/supervised_user/supervised_user_service.cc
|
| diff --git a/chrome/browser/supervised_user/supervised_user_service.cc b/chrome/browser/supervised_user/supervised_user_service.cc
|
| index 50325162b78785890d10bfb01bd034652c145161..79166d07893d91cfe4477875b4b918d91de31dc4 100644
|
| --- a/chrome/browser/supervised_user/supervised_user_service.cc
|
| +++ b/chrome/browser/supervised_user/supervised_user_service.cc
|
| @@ -770,6 +770,10 @@ void SupervisedUserService::SetActive(bool active) {
|
| }
|
| #endif
|
|
|
| + ProfileSyncService* sync_service =
|
| + ProfileSyncServiceFactory::GetForProfile(profile_);
|
| + sync_service->SetEncryptEverythingAllowed(!active_);
|
| +
|
| GetSettingsService()->SetActive(active_);
|
|
|
| #if defined(ENABLE_EXTENSIONS)
|
|
|