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

Unified Diff: chrome/browser/chromeos/power/login_lock_state_notifier.cc

Issue 2471643002: mash: remove the LockStateControllerDelegate. (Closed)
Patch Set: sky comments Created 4 years, 1 month 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: chrome/browser/chromeos/power/login_lock_state_notifier.cc
diff --git a/chrome/browser/chromeos/power/login_lock_state_notifier.cc b/chrome/browser/chromeos/power/login_lock_state_notifier.cc
index 63a0b9d5bcc9f88cadb127f9771797ee1f5d6690..1be0f74b22706792bf1f3590ba8f380ac16e50b3 100644
--- a/chrome/browser/chromeos/power/login_lock_state_notifier.cc
+++ b/chrome/browser/chromeos/power/login_lock_state_notifier.cc
@@ -11,7 +11,6 @@
#include "base/logging.h"
#include "chrome/browser/chrome_notification_types.h"
#include "chrome/browser/chromeos/login/lock/screen_locker.h"
-#include "chrome/browser/chromeos/power/session_state_controller_delegate_chromeos.h"
#include "content/public/browser/notification_service.h"
namespace ash {
@@ -32,10 +31,6 @@ ash::LoginStatus GetCurrentLoginStatus() {
} // namespace
LoginLockStateNotifier::LoginLockStateNotifier() {
- ash::Shell::GetInstance()->lock_state_controller()->SetDelegate(
- std::unique_ptr<ash::LockStateControllerDelegate>(
- new SessionStateControllerDelegateChromeos));
-
registrar_.Add(this, chrome::NOTIFICATION_LOGIN_USER_CHANGED,
content::NotificationService::AllSources());
registrar_.Add(this, chrome::NOTIFICATION_APP_TERMINATING,

Powered by Google App Engine
This is Rietveld 408576698