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

Unified Diff: trunk/src/ash/system/date/tray_date.cc

Issue 14200034: Revert 194578 "Add ash SessionStateDelegate" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/src/ash/shell_unittest.cc ('k') | trunk/src/ash/system/tray/test_system_tray_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/ash/system/date/tray_date.cc
===================================================================
--- trunk/src/ash/system/date/tray_date.cc (revision 194588)
+++ trunk/src/ash/system/date/tray_date.cc (working copy)
@@ -4,7 +4,6 @@
#include "ash/system/date/tray_date.h"
-#include "ash/session_state_delegate.h"
#include "ash/shell.h"
#include "ash/shell_delegate.h"
#include "ash/system/date/date_view.h"
@@ -90,7 +89,7 @@
view->AddButton(shutdown_);
}
- if (ash::Shell::GetInstance()->session_state_delegate()->CanLockScreen()) {
+ if (ash::Shell::GetInstance()->CanLockScreen()) {
lock_ = new ash::internal::TrayPopupHeaderButton(this,
IDR_AURA_UBER_TRAY_LOCKSCREEN,
IDR_AURA_UBER_TRAY_LOCKSCREEN,
« no previous file with comments | « trunk/src/ash/shell_unittest.cc ('k') | trunk/src/ash/system/tray/test_system_tray_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698