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

Unified Diff: chrome/browser/chromeos/login/existing_user_controller.cc

Issue 2438063002: user_manager: Remove deps on session_manager (Closed)
Patch Set: fix nits in PS1 Created 4 years, 2 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: chrome/browser/chromeos/login/existing_user_controller.cc
diff --git a/chrome/browser/chromeos/login/existing_user_controller.cc b/chrome/browser/chromeos/login/existing_user_controller.cc
index 5397d8753c5486f3bc63b9d043c3b0886d4e7282..33e9edb7e4506ed556dabafc7dd7e857d528b1ea 100644
--- a/chrome/browser/chromeos/login/existing_user_controller.cc
+++ b/chrome/browser/chromeos/login/existing_user_controller.cc
@@ -63,6 +63,7 @@
#include "components/policy/core/common/policy_types.h"
#include "components/policy/policy_constants.h"
#include "components/prefs/pref_service.h"
+#include "components/session_manager/core/session_manager.h"
#include "components/signin/core/account_id/account_id.h"
#include "components/signin/core/browser/signin_client.h"
#include "components/user_manager/known_user.h"
@@ -151,7 +152,7 @@ bool CanShowDebuggingFeatures() {
chromeos::switches::kSystemDevMode) &&
base::CommandLine::ForCurrentProcess()->HasSwitch(
chromeos::switches::kLoginManager) &&
- !user_manager::UserManager::Get()->IsSessionStarted();
+ !session_manager::SessionManager::Get()->IsSessionStarted();
}
void RecordPasswordChangeFlow(LoginPasswordChangeFlow flow) {
« no previous file with comments | « chrome/browser/chromeos/login/demo_mode/demo_app_launcher.cc ('k') | chrome/browser/chromeos/login/screens/error_screen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698