| Index: chrome/browser/ui/ash/chrome_shell_delegate.cc
|
| diff --git a/chrome/browser/ui/ash/chrome_shell_delegate.cc b/chrome/browser/ui/ash/chrome_shell_delegate.cc
|
| index fa07fc8076be7d5a33d6f9bf3a8f9fac39cbbf6e..f7875f497ac6e4fadfabadf328eae88585f00a4d 100644
|
| --- a/chrome/browser/ui/ash/chrome_shell_delegate.cc
|
| +++ b/chrome/browser/ui/ash/chrome_shell_delegate.cc
|
| @@ -108,7 +108,7 @@ bool ChromeShellDelegate::IsUserLoggedIn() {
|
| }
|
|
|
| // Returns true if we're logged in and browser has been started
|
| -bool ChromeShellDelegate::IsSessionStarted() {
|
| +bool ChromeShellDelegate::IsSessionStarted() const {
|
| #if defined(OS_CHROMEOS)
|
| return chromeos::UserManager::Get()->IsSessionStarted();
|
| #else
|
| @@ -126,6 +126,15 @@ void ChromeShellDelegate::LockScreen() {
|
| #endif
|
| }
|
|
|
| +bool ChromeShellDelegate::IsStatusAreaInitiallyVisible() const {
|
| +#if defined(OS_CHROMEOS)
|
| + // Login screen manages status area visibility by itself.
|
| + return IsSessionStarted();
|
| +#else
|
| + return true;
|
| +#endif
|
| +}
|
| +
|
| void ChromeShellDelegate::UnlockScreen() {
|
| // This is used only for testing thus far.
|
| NOTIMPLEMENTED();
|
|
|