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

Issue 633233002: Lock only permitted where a supervised user is or was. (Closed)

Created:
6 years, 2 months ago by Mike Lerman
Modified:
6 years, 1 month ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Lock only when there is at least one supervised user on the machine. BUG=420746 Committed: https://crrev.com/677ec3adaec076f5e41cee4f144459a77d677afc Cr-Commit-Position: refs/heads/master@{#302412}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase #

Patch Set 3 : Remove pref #

Total comments: 2

Patch Set 4 : Early returns #

Patch Set 5 : Fix profile chooser controller lock unit tests #

Total comments: 2

Patch Set 6 : Rebase #

Patch Set 7 : Alexei's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -3 lines) Patch
M chrome/browser/profiles/profile_window.cc View 1 2 3 4 5 6 1 chunk +17 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
Mike Lerman
Hi Monica, Can you review this CL, please? The changes I need to made to ...
6 years, 2 months ago (2014-10-07 20:48:44 UTC) #2
noms (inactive)
Also, as discussed offline, I think we should consider removing the Lock option if the ...
6 years, 2 months ago (2014-10-08 14:31:51 UTC) #3
Mike Lerman
Hi Monica, John's comment https://code.google.com/p/chromium/issues/detail?id=420746#c8 states that lock will only be available if there are ...
6 years, 2 months ago (2014-10-10 18:25:55 UTC) #6
noms (inactive)
https://codereview.chromium.org/633233002/diff/110001/chrome/browser/profiles/profile_window.cc File chrome/browser/profiles/profile_window.cc (right): https://codereview.chromium.org/633233002/diff/110001/chrome/browser/profiles/profile_window.cc#newcode330 chrome/browser/profiles/profile_window.cc:330: num_supervised_profiles++; nit: you can just return true here, and ...
6 years, 2 months ago (2014-10-14 14:22:01 UTC) #7
Mike Lerman
https://codereview.chromium.org/633233002/diff/110001/chrome/browser/profiles/profile_window.cc File chrome/browser/profiles/profile_window.cc (right): https://codereview.chromium.org/633233002/diff/110001/chrome/browser/profiles/profile_window.cc#newcode330 chrome/browser/profiles/profile_window.cc:330: num_supervised_profiles++; On 2014/10/14 14:22:01, Monica Dinculescu wrote: > nit: ...
6 years, 1 month ago (2014-10-29 15:28:48 UTC) #8
noms (inactive)
LGTM!
6 years, 1 month ago (2014-10-29 15:58:14 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/633233002/150001
6 years, 1 month ago (2014-10-30 18:24:27 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/1448)
6 years, 1 month ago (2014-10-30 20:05:58 UTC) #13
Mike Lerman
Hi Alexei, Can you review this cocoa unit test change for me, please? Thanks! Mike
6 years, 1 month ago (2014-10-30 20:33:53 UTC) #15
Alexei Svitkine (slow)
lgtm % comments https://codereview.chromium.org/633233002/diff/170001/chrome/browser/profiles/profile_window.cc File chrome/browser/profiles/profile_window.cc (right): https://codereview.chromium.org/633233002/diff/170001/chrome/browser/profiles/profile_window.cc#newcode319 chrome/browser/profiles/profile_window.cc:319: hosted_domain != "google.com") { This should ...
6 years, 1 month ago (2014-10-31 17:13:11 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/633233002/210001
6 years, 1 month ago (2014-11-03 03:30:16 UTC) #18
commit-bot: I haz the power
Committed patchset #7 (id:210001)
6 years, 1 month ago (2014-11-03 04:10:13 UTC) #19
commit-bot: I haz the power
6 years, 1 month ago (2014-11-03 04:11:49 UTC) #20
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/677ec3adaec076f5e41cee4f144459a77d677afc
Cr-Commit-Position: refs/heads/master@{#302412}

Powered by Google App Engine
This is Rietveld 408576698