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

Issue 2325643003: Disables user manager actions only if there is at least one regular profile and they're all locked. (Closed)

Created:
4 years, 3 months ago by Moe
Modified:
4 years, 3 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Previously, User manager actions were being disabled if no regular (aka custodian) profiles existed (b/c it's not possible to have a supervised profile on its own). Since it's possible for child profiles to exist on their own, this CL changes the behavior so that user manager actions are disabled only if there is at least one regular profile and that all regular profiles are locked. BUG=640885 Committed: https://crrev.com/2ed22bdcbf5985dbfe4c2e5cafa12b5ef851f77e Cr-Commit-Position: refs/heads/master@{#417576}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressed comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -12 lines) Patch
M chrome/browser/profiles/profiles_state.h View 1 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/profiles/profiles_state.cc View 1 2 chunks +9 lines, -8 lines 0 comments Download
M chrome/browser/ui/webui/signin/user_manager_screen_handler.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 27 (17 generated)
Moe
Hi Anthony, Please take a look at this CL.
4 years, 3 months ago (2016-09-08 14:11:21 UTC) #5
anthonyvd
lgtm % small nit https://codereview.chromium.org/2325643003/diff/1/chrome/browser/profiles/profiles_state.h File chrome/browser/profiles/profiles_state.h (right): https://codereview.chromium.org/2325643003/diff/1/chrome/browser/profiles/profiles_state.h#newcode109 chrome/browser/profiles/profiles_state.h:109: bool AreAllProfilesLocked(); nit: can this ...
4 years, 3 months ago (2016-09-08 14:27:54 UTC) #6
Moe
Thanks! https://codereview.chromium.org/2325643003/diff/1/chrome/browser/profiles/profiles_state.h File chrome/browser/profiles/profiles_state.h (right): https://codereview.chromium.org/2325643003/diff/1/chrome/browser/profiles/profiles_state.h#newcode109 chrome/browser/profiles/profiles_state.h:109: bool AreAllProfilesLocked(); On 2016/09/08 14:27:54, anthonyvd wrote: > ...
4 years, 3 months ago (2016-09-08 17:37:03 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2325643003/20001
4 years, 3 months ago (2016-09-08 22:14:00 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/255983)
4 years, 3 months ago (2016-09-08 22:19:33 UTC) #18
Moe
rogerta@ please review c/b/ui/webui/signin/
4 years, 3 months ago (2016-09-08 22:27:06 UTC) #20
Roger Tawa OOO till Jul 10th
lgtm
4 years, 3 months ago (2016-09-09 13:35:53 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2325643003/20001
4 years, 3 months ago (2016-09-09 13:47:18 UTC) #23
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-09 13:50:34 UTC) #25
commit-bot: I haz the power
4 years, 3 months ago (2016-09-09 13:51:58 UTC) #27
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/2ed22bdcbf5985dbfe4c2e5cafa12b5ef851f77e
Cr-Commit-Position: refs/heads/master@{#417576}

Powered by Google App Engine
This is Rietveld 408576698