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

Unified Diff: ash/system/chromeos/power/video_activity_notifier.cc

Issue 2734933004: ash: Use SessionController instead of SessionStateDelegate (Closed)
Patch Set: rebase to get WorkspaceLayoutManagerSoloTest change Created 3 years, 9 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
Index: ash/system/chromeos/power/video_activity_notifier.cc
diff --git a/ash/system/chromeos/power/video_activity_notifier.cc b/ash/system/chromeos/power/video_activity_notifier.cc
index 283265a070924f0514be15256d479aaab50ca1e7..030e768461d0a5294fc16c728561092fa4c71af5 100644
--- a/ash/system/chromeos/power/video_activity_notifier.cc
+++ b/ash/system/chromeos/power/video_activity_notifier.cc
@@ -4,7 +4,7 @@
#include "ash/system/chromeos/power/video_activity_notifier.h"
-#include "ash/common/session/session_state_delegate.h"
+#include "ash/common/session/session_controller.h"
#include "ash/common/wm_shell.h"
#include "ash/shell.h"
#include "chromeos/dbus/dbus_thread_manager.h"
@@ -24,7 +24,7 @@ VideoActivityNotifier::VideoActivityNotifier(VideoDetector* detector)
: detector_(detector),
video_state_(detector->state()),
screen_is_locked_(
- Shell::GetInstance()->session_state_delegate()->IsScreenLocked()) {
+ WmShell::Get()->session_controller()->IsScreenLocked()) {
detector_->AddObserver(this);
Shell::GetInstance()->AddShellObserver(this);

Powered by Google App Engine
This is Rietveld 408576698