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

Issue 480513004: Stopping the history recording for a supervised user (Closed)

Created:
6 years, 4 months ago by fhorschig
Modified:
6 years, 2 months ago
CC:
chromium-reviews, pam+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Stopping the history recording for a supervised user The custodian will soon be able to stop history recording for each of his supervised users. Reenabling the history for existing supervised user accounts relies on another sync commit of the supervised user (e.g. permission request; alternatively new setup of the supervised user). BUG=232316 Committed: https://crrev.com/1f351f00cc2af54e4fa69c8172abca33ffd1327d Cr-Commit-Position: refs/heads/master@{#297411}

Patch Set 1 #

Total comments: 12

Patch Set 2 : Format changes, check sync service setup before setting it and test refactoring. #

Total comments: 33

Patch Set 3 : Refactoring for pausing the history. #

Patch Set 4 : Wrapped RecordHistory in a pref. #

Total comments: 20

Patch Set 5 : Refactored und reformatted. #

Total comments: 6

Patch Set 6 : Style changes. #

Patch Set 7 : Merge master after style changes. #

Total comments: 4

Patch Set 8 : Made documentation clearer. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -18 lines) Patch
M chrome/browser/profiles/profile_impl.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_constants.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_constants.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_pref_store.cc View 1 2 3 4 2 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_service.h View 1 2 3 4 5 6 7 2 chunks +17 lines, -1 line 0 comments Download
M chrome/browser/supervised_user/supervised_user_service.cc View 1 2 3 4 5 6 7 4 chunks +19 lines, -2 lines 0 comments Download
M chrome/browser/supervised_user/supervised_user_service_unittest.cc View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.h View 1 2 3 4 5 6 7 2 chunks +11 lines, -9 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (2 generated)
fhorschig
6 years, 4 months ago (2014-08-19 13:40:10 UTC) #1
Marc Treib
Couple of comments below; nothing major though. https://codereview.chromium.org/480513004/diff/1/chrome/browser/supervised_user/supervised_user_service.cc File chrome/browser/supervised_user/supervised_user_service.cc (right): https://codereview.chromium.org/480513004/diff/1/chrome/browser/supervised_user/supervised_user_service.cc#newcode375 chrome/browser/supervised_user/supervised_user_service.cc:375: const base::DictionaryValue* ...
6 years, 4 months ago (2014-08-19 14:00:28 UTC) #2
Marc Treib
https://codereview.chromium.org/480513004/diff/1/chrome/browser/supervised_user/supervised_user_service_unittest.cc File chrome/browser/supervised_user/supervised_user_service_unittest.cc (right): https://codereview.chromium.org/480513004/diff/1/chrome/browser/supervised_user/supervised_user_service_unittest.cc#newcode165 chrome/browser/supervised_user/supervised_user_service_unittest.cc:165: supervised_user_service_->profile_)->GetActiveDataTypes(); Is the PSS actually properly set up in ...
6 years, 4 months ago (2014-08-19 14:06:29 UTC) #3
fhorschig
Made changes according to the annotations. The test code was refactored into two more expressive ...
6 years, 4 months ago (2014-08-19 14:48:01 UTC) #4
Marc Treib
https://codereview.chromium.org/480513004/diff/20001/chrome/browser/supervised_user/supervised_user_service.cc File chrome/browser/supervised_user/supervised_user_service.cc (right): https://codereview.chromium.org/480513004/diff/20001/chrome/browser/supervised_user/supervised_user_service.cc#newcode386 chrome/browser/supervised_user/supervised_user_service.cc:386: if (settings && // gets NULL when settings service ...
6 years, 4 months ago (2014-08-19 15:28:02 UTC) #5
Bernhard Bauer
Description nit: The CL title no verb. https://codereview.chromium.org/480513004/diff/20001/chrome/browser/supervised_user/supervised_user_constants.h File chrome/browser/supervised_user/supervised_user_constants.h (right): https://codereview.chromium.org/480513004/diff/20001/chrome/browser/supervised_user/supervised_user_constants.h#newcode25 chrome/browser/supervised_user/supervised_user_constants.h:25: // This ...
6 years, 4 months ago (2014-08-19 17:11:13 UTC) #6
Pam (message me for reviews)
https://codereview.chromium.org/480513004/diff/20001/chrome/browser/supervised_user/supervised_user_constants.cc File chrome/browser/supervised_user/supervised_user_constants.cc (right): https://codereview.chromium.org/480513004/diff/20001/chrome/browser/supervised_user/supervised_user_constants.cc#newcode21 chrome/browser/supervised_user/supervised_user_constants.cc:21: const char kRecordHistory[] = "RecordHistory"; Move this up with ...
6 years, 4 months ago (2014-08-19 20:17:16 UTC) #7
Marc Treib
https://codereview.chromium.org/480513004/diff/20001/chrome/browser/supervised_user/supervised_user_service.cc File chrome/browser/supervised_user/supervised_user_service.cc (right): https://codereview.chromium.org/480513004/diff/20001/chrome/browser/supervised_user/supervised_user_service.cc#newcode398 chrome/browser/supervised_user/supervised_user_service.cc:398: // The following lines force the ProfileSyncService to reload ...
6 years, 4 months ago (2014-08-20 10:04:55 UTC) #8
fhorschig
The refactoring according to your comments include making ReconfigureDatatypeManager public. This enables the possiblity to ...
6 years, 4 months ago (2014-08-20 11:59:31 UTC) #9
fhorschig
Trying to wrap the State in a preference (as bauerb suggested) worked well and made ...
6 years, 4 months ago (2014-08-20 13:45:30 UTC) #10
Marc Treib
https://codereview.chromium.org/480513004/diff/60001/chrome/browser/supervised_user/supervised_user_constants.cc File chrome/browser/supervised_user/supervised_user_constants.cc (right): https://codereview.chromium.org/480513004/diff/60001/chrome/browser/supervised_user/supervised_user_constants.cc#newcode21 chrome/browser/supervised_user/supervised_user_constants.cc:21: const char kRecordHistory[] = "RecordHistory"; ^^ https://codereview.chromium.org/480513004/diff/60001/chrome/browser/supervised_user/supervised_user_constants.h File chrome/browser/supervised_user/supervised_user_constants.h ...
6 years, 4 months ago (2014-08-20 14:14:26 UTC) #11
fhorschig
If I only had known earlier that these few lines are sufficient... (formatted and refactored ...
6 years, 4 months ago (2014-08-20 14:48:04 UTC) #12
Bernhard Bauer
LGTM w/ nits: https://codereview.chromium.org/480513004/diff/80001/chrome/browser/supervised_user/supervised_user_constants.cc File chrome/browser/supervised_user/supervised_user_constants.cc (right): https://codereview.chromium.org/480513004/diff/80001/chrome/browser/supervised_user/supervised_user_constants.cc#newcode22 chrome/browser/supervised_user/supervised_user_constants.cc:22: And this one. https://codereview.chromium.org/480513004/diff/80001/chrome/browser/supervised_user/supervised_user_constants.h File chrome/browser/supervised_user/supervised_user_constants.h ...
6 years, 4 months ago (2014-08-20 20:50:29 UTC) #13
fhorschig
https://codereview.chromium.org/480513004/diff/80001/chrome/browser/supervised_user/supervised_user_constants.cc File chrome/browser/supervised_user/supervised_user_constants.cc (right): https://codereview.chromium.org/480513004/diff/80001/chrome/browser/supervised_user/supervised_user_constants.cc#newcode22 chrome/browser/supervised_user/supervised_user_constants.cc:22: On 2014/08/20 20:50:28, Bernhard Bauer wrote: > And this ...
6 years, 4 months ago (2014-08-21 07:51:24 UTC) #14
fhorschig
The CQ bit was checked by fhorschig@chromium.org
6 years, 4 months ago (2014-08-21 14:19:20 UTC) #15
fhorschig
The CQ bit was unchecked by fhorschig@chromium.org
6 years, 4 months ago (2014-08-21 14:19:22 UTC) #16
fhorschig
friendly ping to check minor changes in common/pref_names, browser/profiles/profile_impl.cc and browser/sync/profile_sync_service.h
6 years, 3 months ago (2014-08-28 08:27:08 UTC) #17
Bernhard Bauer
bauerb@chromium.org changed reviewers: + tim@chromium.org - rsimha@chromium.org
6 years, 3 months ago (2014-08-28 08:36:09 UTC) #18
Bernhard Bauer
-rsimha, +tim (Raghu isn't working on Sync anymore).
6 years, 3 months ago (2014-08-28 08:36:09 UTC) #19
chromium-reviews
thanks! On Thu, Aug 28, 2014 at 10:36 AM, <bauerb@chromium.org> wrote: > -rsimha, +tim (Raghu ...
6 years, 3 months ago (2014-08-28 08:38:45 UTC) #20
Sergiu
On 2014/08/28 08:38:45, chromium-reviews wrote: > thanks! > > > On Thu, Aug 28, 2014 ...
6 years, 3 months ago (2014-09-09 12:14:04 UTC) #21
Marc Treib
-tim -skuhne who are unresponsive +noms for trivial change in profile_impl.cc +zea for profile_sync_service.h PTAL!
6 years, 2 months ago (2014-09-26 10:39:23 UTC) #23
noms (inactive)
profiles lgtm
6 years, 2 months ago (2014-09-26 14:12:09 UTC) #24
Nicolas Zea
https://codereview.chromium.org/480513004/diff/120001/chrome/browser/supervised_user/supervised_user_service.cc File chrome/browser/supervised_user/supervised_user_service.cc (right): https://codereview.chromium.org/480513004/diff/120001/chrome/browser/supervised_user/supervised_user_service.cc#newcode442 chrome/browser/supervised_user/supervised_user_service.cc:442: service->SetSetupInProgress(false); Why not use this approach, rather than explicitly ...
6 years, 2 months ago (2014-09-26 20:34:11 UTC) #25
fhorschig
On 2014/09/26 20:34:11, Nicolas Zea wrote: > https://codereview.chromium.org/480513004/diff/120001/chrome/browser/supervised_user/supervised_user_service.cc > File chrome/browser/supervised_user/supervised_user_service.cc (right): > > https://codereview.chromium.org/480513004/diff/120001/chrome/browser/supervised_user/supervised_user_service.cc#newcode442 ...
6 years, 2 months ago (2014-09-29 07:23:33 UTC) #26
fhorschig
https://codereview.chromium.org/480513004/diff/120001/chrome/browser/supervised_user/supervised_user_service.cc File chrome/browser/supervised_user/supervised_user_service.cc (right): https://codereview.chromium.org/480513004/diff/120001/chrome/browser/supervised_user/supervised_user_service.cc#newcode442 chrome/browser/supervised_user/supervised_user_service.cc:442: service->SetSetupInProgress(false); On 2014/09/26 20:34:11, Nicolas Zea wrote: > Why ...
6 years, 2 months ago (2014-09-29 07:23:52 UTC) #27
Marc Treib
https://codereview.chromium.org/480513004/diff/120001/chrome/browser/supervised_user/supervised_user_service.cc File chrome/browser/supervised_user/supervised_user_service.cc (right): https://codereview.chromium.org/480513004/diff/120001/chrome/browser/supervised_user/supervised_user_service.cc#newcode442 chrome/browser/supervised_user/supervised_user_service.cc:442: service->SetSetupInProgress(false); On 2014/09/29 07:23:51, fhorschig wrote: > On 2014/09/26 ...
6 years, 2 months ago (2014-09-29 07:45:58 UTC) #28
Nicolas Zea
Making it public is fine, just wanted to make sure there was a reason the ...
6 years, 2 months ago (2014-09-29 17:50:32 UTC) #29
fhorschig
6 years, 2 months ago (2014-09-30 07:37:33 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/480513004/140001
6 years, 2 months ago (2014-09-30 10:37:23 UTC) #32
commit-bot: I haz the power
Committed patchset #8 (id:140001) as 95dd99c95a9de7492b4a00e573db5602da34b95a
6 years, 2 months ago (2014-09-30 12:30:34 UTC) #33
commit-bot: I haz the power
6 years, 2 months ago (2014-09-30 12:31:14 UTC) #34
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/1f351f00cc2af54e4fa69c8172abca33ffd1327d
Cr-Commit-Position: refs/heads/master@{#297411}

Powered by Google App Engine
This is Rietveld 408576698