|
cros: Remove supervised user methods from ash::SystemTrayDelegate
For mustash we need to replace SystemTrayDelegate. Use SessionController
for supervised user data instead.
Send a UserSession update when the Profile becomes available, because
supervised user data is kept in a profile keyed service.
Don't try to update the system tray item text while the menu is open.
The supervised user custodian almost never changes, so we'll see the new
value when the menu is opened again.
For testing, allow FakeChromeUserManager to skip the fake-addition of a
profile to a user on login. It shouldn't be doing this -- in production
the profile is loaded later.
BUG= 712799
TEST=added to ash_unittests and unit_tests
Review-Url: https://codereview.chromium.org/2832903002
Cr-Commit-Position: refs/heads/master@{#466752}
Committed: https://chromium.googlesource.com/chromium/src/+/b7360f79e32c16690c062f0b44fecd7d5d452c1e
Total comments: 17
Total comments: 2
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+472 lines, -370 lines) |
Patch |
|
M |
ash/BUILD.gn
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
ash/ash_strings.grd
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
ash/public/interfaces/session_controller.mojom
|
View
|
1
2
|
2 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
|
M |
ash/system/supervised/custodian_info_tray_observer.h
|
View
|
1
2
|
1 chunk |
+0 lines, -23 lines |
0 comments
|
Download
|
|
M |
ash/system/supervised/tray_supervised_user.h
|
View
|
1
2
3
|
1 chunk |
+14 lines, -31 lines |
0 comments
|
Download
|
|
M |
ash/system/supervised/tray_supervised_user.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+67 lines, -73 lines |
0 comments
|
Download
|
|
M |
ash/system/supervised/tray_supervised_user_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+65 lines, -2 lines |
0 comments
|
Download
|
|
M |
ash/system/tray/hover_highlight_view.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
ash/system/tray/label_tray_view.h
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
ash/system/tray/system_tray.h
|
View
|
1
2
|
4 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
|
M |
ash/system/tray/system_tray.cc
|
View
|
1
2
|
4 chunks |
+6 lines, -8 lines |
0 comments
|
Download
|
|
M |
ash/system/tray/system_tray_delegate.h
|
View
|
1
2
|
4 chunks |
+3 lines, -29 lines |
0 comments
|
Download
|
|
M |
ash/system/tray/system_tray_delegate.cc
|
View
|
1
2
|
2 chunks |
+0 lines, -18 lines |
0 comments
|
Download
|
|
M |
ash/test/test_system_tray_delegate.h
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
ash/test/test_system_tray_delegate.cc
|
View
|
1
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/app/chromeos_strings.grdp
|
View
|
|
1 chunk |
+0 lines, -9 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/login/users/fake_chrome_user_manager.h
|
View
|
1
2
3
4
5
|
1 chunk |
+5 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/login/users/fake_chrome_user_manager.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+19 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/ui/ash/session_controller_client.h
|
View
|
1
2
3
4
5
6
|
5 chunks |
+27 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/ash/session_controller_client.cc
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+88 lines, -12 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/ash/session_controller_client_unittest.cc
|
View
|
1
2
3
4
5
6
|
8 chunks |
+149 lines, -12 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/ash/system_tray_delegate_chromeos.h
|
View
|
1
2
|
8 chunks |
+0 lines, -22 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
|
View
|
1
2
|
11 chunks |
+0 lines, -108 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 40 (31 generated)
|