Add a flag to ProfileSyncService that says whether encrypting all data is allowed.
commitf03588b9e8d1a79ada4d5305df9f7f15fa6d43ea
authorbauerb <bauerb@chromium.org>
Mon, 27 Oct 2014 13:40:15 +0000 (27 06:40 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 27 Oct 2014 13:40:34 +0000 (27 13:40 +0000)
tree30a332d6655b2b596f5a5db44bfbdb01b1fdae27
parenta47cef1eee6beea7d45ee5baffb7fd0a83ec370c
Add a flag to ProfileSyncService that says whether encrypting all data is allowed.

Set that flag to false for supervised users.

BUG=419927

Review URL: https://codereview.chromium.org/665223007

Cr-Commit-Position: refs/heads/master@{#301354}
chrome/android/java/src/org/chromium/chrome/browser/sync/ProfileSyncService.java
chrome/browser/resources/sync_setup_overlay.js
chrome/browser/supervised_user/supervised_user_service.cc
chrome/browser/sync/profile_sync_service.cc
chrome/browser/sync/profile_sync_service.h
chrome/browser/sync/profile_sync_service_android.cc
chrome/browser/sync/profile_sync_service_android.h
chrome/browser/sync/profile_sync_service_mock.h
chrome/browser/ui/webui/sync_setup_handler.cc
chrome/browser/ui/webui/sync_setup_handler.h
chrome/browser/ui/webui/sync_setup_handler_unittest.cc