|
|
ash: Merge LoginStatus update code path
- Add LoginStatusChanged to SessionStateObserver;
- Make SessionController fire LoginStatusChanged;
- Shell call UpdateAfterLoginStatusChange on LoginStatusChanged;
- Remove Shell::OnLoginStateChanged and notify ShellObserver in
Shell::LoginStatusChanged;
- Remove UpdateAfterLoginStatusChange calls from SystemTrayDelegateChromeOS
and TestSessionControllerClient;
- Remove Shell::OnLoginStateChanged calls from LoginLockStateNotifier
since LoginStatusChanged should cover that;
- Fix ash_shell_with_content that SessionController is not bound
to its client;
BUG= 701193, 679450
Review-Url: https://codereview.chromium.org/2797743002
Cr-Commit-Position: refs/heads/master@{#462378}
Committed: https://chromium.googlesource.com/chromium/src/+/233f4e71bd49e79e477ef3ba814d53e8036e3c50
Total comments: 14
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+93 lines, -146 lines) |
Patch |
 |
M |
ash/common/session/session_controller.h
|
View
|
1
2
|
5 chunks |
+12 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/common/session/session_controller.cc
|
View
|
1
2
|
7 chunks |
+43 lines, -28 lines |
0 comments
|
Download
|
 |
M |
ash/common/session/session_controller_unittest.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/common/session/session_state_observer.h
|
View
|
1
2
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/common/system/user/tray_user.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ash/common/test/test_session_controller_client.cc
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ash/mus/system_tray_delegate_mus.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/shell.h
|
View
|
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
ash/shell.cc
|
View
|
|
2 chunks |
+7 lines, -11 lines |
0 comments
|
Download
|
 |
M |
ash/shell/content/client/shell_browser_main_parts.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ash/shell/example_session_controller_client.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ash/wm/lock_state_controller.h
|
View
|
1
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ash/wm/lock_state_controller.cc
|
View
|
1
|
2 chunks |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/power/login_lock_state_notifier.cc
|
View
|
|
3 chunks |
+0 lines, -23 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/system/tray_accessibility_browsertest.cc
|
View
|
1
2
|
5 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/session_controller_client.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/session_controller_client.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/system_tray_delegate_chromeos.h
|
View
|
|
4 chunks |
+0 lines, -19 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
|
View
|
|
7 chunks |
+0 lines, -29 lines |
0 comments
|
Download
|
Total messages: 26 (19 generated)
|