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

Issue 665223007: Add a flag to ProfileSyncService that says whether encrypting all data is allowed. (Closed)

Created:
6 years, 2 months ago by Bernhard Bauer
Modified:
6 years, 1 month ago
CC:
chromium-reviews, tim+watch_chromium.org, zea+watch_chromium.org, pvalenzuela+watch_chromium.org, pam+watch_chromium.org, arv+watch_chromium.org, maniscalco+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add a flag to ProfileSyncService that says whether encrypting all data is allowed. Set that flag to false for supervised users. BUG=419927 Committed: https://crrev.com/f03588b9e8d1a79ada4d5305df9f7f15fa6d43ea Cr-Commit-Position: refs/heads/master@{#301354}

Patch Set 1 #

Patch Set 2 : fix #

Total comments: 1

Patch Set 3 : test #

Patch Set 4 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -8 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/sync/ProfileSyncService.java View 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/resources/sync_setup_overlay.js View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_service.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.h View 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 1 2 3 3 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_android.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_android.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_mock.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/sync_setup_handler.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/sync_setup_handler.cc View 1 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/sync_setup_handler_unittest.cc View 1 2 4 chunks +48 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (4 generated)
Bernhard Bauer
Please review. Thanks!
6 years, 2 months ago (2014-10-22 15:35:08 UTC) #2
maxbogue
LGTM Thanks for doing this so quickly!
6 years, 2 months ago (2014-10-22 16:06:38 UTC) #3
Marc Treib
https://codereview.chromium.org/665223007/diff/20001/chrome/browser/sync/profile_sync_service.cc File chrome/browser/sync/profile_sync_service.cc (right): https://codereview.chromium.org/665223007/diff/20001/chrome/browser/sync/profile_sync_service.cc#newcode2204 chrome/browser/sync/profile_sync_service.cc:2204: encrypt_everything_allowed_ = allowed; Hm. Do we need to handle ...
6 years, 2 months ago (2014-10-22 16:10:39 UTC) #4
Bernhard Bauer
On 2014/10/22 16:10:39, Marc Treib wrote: > https://codereview.chromium.org/665223007/diff/20001/chrome/browser/sync/profile_sync_service.cc > File chrome/browser/sync/profile_sync_service.cc (right): > > https://codereview.chromium.org/665223007/diff/20001/chrome/browser/sync/profile_sync_service.cc#newcode2204 ...
6 years, 2 months ago (2014-10-22 16:36:07 UTC) #5
Nicolas Zea
Mostly LG. Would it be possible to add a SyncSetupHandler test?
6 years, 2 months ago (2014-10-22 16:59:44 UTC) #6
Marc Treib
On 2014/10/22 16:36:07, Bernhard Bauer wrote: > On 2014/10/22 16:10:39, Marc Treib wrote: > > ...
6 years, 2 months ago (2014-10-23 07:50:07 UTC) #7
Bernhard Bauer
On 2014/10/23 07:50:07, Marc Treib wrote: > On 2014/10/22 16:36:07, Bernhard Bauer wrote: > > ...
6 years, 2 months ago (2014-10-23 12:40:33 UTC) #8
Nicolas Zea
LGTM, thanks for the tests!
6 years, 2 months ago (2014-10-23 16:56:47 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/665223007/40001
6 years, 2 months ago (2014-10-23 18:55:38 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel/builds/2366)
6 years, 2 months ago (2014-10-23 20:00:29 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/665223007/60001
6 years, 1 month ago (2014-10-27 12:55:59 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
6 years, 1 month ago (2014-10-27 13:40:25 UTC) #16
commit-bot: I haz the power
6 years, 1 month ago (2014-10-27 13:41:07 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/f03588b9e8d1a79ada4d5305df9f7f15fa6d43ea
Cr-Commit-Position: refs/heads/master@{#301354}

Powered by Google App Engine
This is Rietveld 408576698