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

Issue 561713002: ash: Add checks for supervised users. (Closed)

Created:
6 years, 3 months ago by merkulova
Modified:
6 years, 2 months ago
CC:
chromium-reviews, kalyank, stevenjb+watch_chromium.org, sadrul, oshima+watch_chromium.org, ben+ash_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

ash: Add checks for supervised users. Propagate the user's supervised state to the ash system so that it becomes available for views https://chromereviews.googleplex.com/79527013/ BUG=394417 Committed: https://crrev.com/8616ac4cf7bd77f53dc001eb9d8d61c6c975eaaa Cr-Commit-Position: refs/heads/master@{#294821} Committed: https://crrev.com/03a72b3faa290ad25a356f247e2d7907b3dfe1af Cr-Commit-Position: refs/heads/master@{#296160}

Patch Set 1 #

Patch Set 2 : Missed child class updated. Checks improved. #

Total comments: 4

Patch Set 3 : TestDelegate updated. #

Patch Set 4 : Log changed. #

Total comments: 1

Patch Set 5 : Removing user manager from test delegate. #

Total comments: 2

Patch Set 6 : Default flag value set in user class constructor. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -10 lines) Patch
M ash/shelf/shelf_widget.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M ash/system/chromeos/supervised/tray_supervised_user.h View 2 chunks +4 lines, -1 line 0 comments Download
M ash/system/chromeos/supervised/tray_supervised_user.cc View 1 2 3 chunks +11 lines, -5 lines 0 comments Download
M ash/system/tray/default_system_tray_delegate.h View 1 chunk +1 line, -0 lines 0 comments Download
M ash/system/tray/default_system_tray_delegate.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M ash/system/tray/system_tray_delegate.h View 1 chunk +3 lines, -0 lines 0 comments Download
M ash/system/user/tray_user.cc View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M ash/system/user/user_card_view.cc View 2 1 chunk +3 lines, -1 line 0 comments Download
M ash/test/test_system_tray_delegate.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ash/test/test_system_tray_delegate.cc View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.cc View 1 2 3 4 5 1 chunk +6 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_linux.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_win.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M components/user_manager/user.h View 1 chunk +4 lines, -0 lines 0 comments Download
M components/user_manager/user.cc View 1 2 3 4 5 5 chunks +24 lines, -1 line 0 comments Download
M components/user_manager/user_manager.h View 1 chunk +3 lines, -0 lines 0 comments Download
M components/user_manager/user_manager_base.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/user_manager/user_manager_base.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (11 generated)
merkulova
antrim@ for user_manager/ files review derat@ for chrome/browser/ui/ash/ files review jennyz@ for ash/system/ files review ...
6 years, 3 months ago (2014-09-10 10:58:02 UTC) #3
Bernhard Bauer
I don't think my review matters here, but LGTM.
6 years, 3 months ago (2014-09-10 11:26:05 UTC) #4
Marc Treib
I also don't own any of this, but lgtm.
6 years, 3 months ago (2014-09-10 11:41:15 UTC) #5
Daniel Erat
lgtm for c/b/ui/ash but please write a better description for this change (via the "Edit ...
6 years, 3 months ago (2014-09-10 15:52:41 UTC) #6
jennyz
lgtm, agree with derat, please up the cl description.
6 years, 3 months ago (2014-09-10 18:13:10 UTC) #7
Daniel Erat
thanks, the updated description looks fine to me (i updated it a bit more so ...
6 years, 3 months ago (2014-09-11 16:09:39 UTC) #8
Denis Kuznetsov (DE-MUC)
lgtm
6 years, 3 months ago (2014-09-11 16:20:54 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/561713002/1
6 years, 3 months ago (2014-09-12 09:50:08 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu/builds/60088)
6 years, 3 months ago (2014-09-12 10:07:55 UTC) #15
Marc Treib
https://codereview.chromium.org/561713002/diff/20001/ash/system/chromeos/supervised/tray_supervised_user.cc File ash/system/chromeos/supervised/tray_supervised_user.cc (right): https://codereview.chromium.org/561713002/diff/20001/ash/system/chromeos/supervised/tray_supervised_user.cc#newcode53 ash/system/chromeos/supervised/tray_supervised_user.cc:53: if (!(status != ash::user::LOGGED_IN_SUPERVISED || Should this be "==" ...
6 years, 3 months ago (2014-09-15 08:16:22 UTC) #16
Marc Treib
https://codereview.chromium.org/561713002/diff/20001/components/user_manager/user.cc File components/user_manager/user.cc (right): https://codereview.chromium.org/561713002/diff/20001/components/user_manager/user.cc#newcode36 components/user_manager/user.cc:36: VLOG(1) << "Setting user is supervised to " << ...
6 years, 3 months ago (2014-09-15 08:20:51 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/561713002/60001
6 years, 3 months ago (2014-09-15 09:39:42 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/15464)
6 years, 3 months ago (2014-09-15 09:58:06 UTC) #21
Denis Kuznetsov (DE-MUC)
https://chromiumcodereview.appspot.com/561713002/diff/60001/ash/test/test_system_tray_delegate.cc File ash/test/test_system_tray_delegate.cc (right): https://chromiumcodereview.appspot.com/561713002/diff/60001/ash/test/test_system_tray_delegate.cc#newcode13 ash/test/test_system_tray_delegate.cc:13: No need for empty line here.
6 years, 3 months ago (2014-09-15 11:33:36 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/561713002/80001
6 years, 3 months ago (2014-09-15 12:35:18 UTC) #24
commit-bot: I haz the power
Committed patchset #5 (id:80001) as 3cb90f563777c97b42547152259a2719e6e2af87
6 years, 3 months ago (2014-09-15 14:31:27 UTC) #25
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/8616ac4cf7bd77f53dc001eb9d8d61c6c975eaaa Cr-Commit-Position: refs/heads/master@{#294821}
6 years, 3 months ago (2014-09-15 15:08:36 UTC) #26
Ken Rockot(use gerrit already)
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/575653002/ by rockot@chromium.org. ...
6 years, 3 months ago (2014-09-15 23:16:41 UTC) #27
Nikita (slow)
https://codereview.chromium.org/561713002/diff/80001/components/user_manager/user.cc File components/user_manager/user.cc (right): https://codereview.chromium.org/561713002/diff/80001/components/user_manager/user.cc#newcode245 components/user_manager/user.cc:245: RegularUser::RegularUser(const std::string& email) : User(email) { You need to ...
6 years, 3 months ago (2014-09-17 18:25:26 UTC) #29
merkulova
https://codereview.chromium.org/561713002/diff/20001/ash/system/chromeos/supervised/tray_supervised_user.cc File ash/system/chromeos/supervised/tray_supervised_user.cc (right): https://codereview.chromium.org/561713002/diff/20001/ash/system/chromeos/supervised/tray_supervised_user.cc#newcode53 ash/system/chromeos/supervised/tray_supervised_user.cc:53: if (!(status != ash::user::LOGGED_IN_SUPERVISED || On 2014/09/15 08:16:21, Marc ...
6 years, 3 months ago (2014-09-18 08:51:30 UTC) #30
Nikita (slow)
On 2014/09/18 08:51:30, merkulova wrote: > https://codereview.chromium.org/561713002/diff/20001/ash/system/chromeos/supervised/tray_supervised_user.cc > File ash/system/chromeos/supervised/tray_supervised_user.cc (right): > > https://codereview.chromium.org/561713002/diff/20001/ash/system/chromeos/supervised/tray_supervised_user.cc#newcode53 > ...
6 years, 3 months ago (2014-09-22 13:17:53 UTC) #31
Marc Treib
On 2014/09/22 13:17:53, Nikita Kostylev wrote: > On 2014/09/18 08:51:30, merkulova wrote: > > > ...
6 years, 3 months ago (2014-09-22 13:21:50 UTC) #32
Nikita (slow)
lgtm
6 years, 3 months ago (2014-09-22 13:40:15 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/561713002/100001
6 years, 3 months ago (2014-09-23 08:11:36 UTC) #35
commit-bot: I haz the power
Committed patchset #6 (id:100001) as ffc70a906805df68fceeb071eec2dae38202b964
6 years, 3 months ago (2014-09-23 08:51:16 UTC) #36
commit-bot: I haz the power
6 years, 3 months ago (2014-09-23 08:51:56 UTC) #37
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/03a72b3faa290ad25a356f247e2d7907b3dfe1af
Cr-Commit-Position: refs/heads/master@{#296160}

Powered by Google App Engine
This is Rietveld 408576698