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

Unified Diff: chrome/browser/automation/automation_provider.cc

Issue 13495003: Add LoginState class to src/chromeos/login (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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 | « ash/system/user/login_status.h ('k') | chrome/browser/chromeos/background/ash_user_wallpaper_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/automation/automation_provider.cc
diff --git a/chrome/browser/automation/automation_provider.cc b/chrome/browser/automation/automation_provider.cc
index 49ea66469653b8234cf814a59dc4cae550731a6f..034be69936c6b8374418942ba84c6781253e106a 100644
--- a/chrome/browser/automation/automation_provider.cc
+++ b/chrome/browser/automation/automation_provider.cc
@@ -77,8 +77,8 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h"
#if defined(OS_CHROMEOS)
-#include "chrome/browser/chromeos/login/user_manager.h"
#include "chromeos/chromeos_switches.h"
+#include "chromeos/login/login_state.h"
#endif // defined(OS_CHROMEOS)
using WebKit::WebFindOptions;
@@ -219,7 +219,7 @@ bool AutomationProvider::InitializeChannel(const std::string& channel_id) {
// Observer will delete itself.
if (CommandLine::ForCurrentProcess()->HasSwitch(
chromeos::switches::kLoginManager) &&
- !chromeos::UserManager::Get()->IsUserLoggedIn()) {
+ !chromeos::LoginState::Get()->IsUserLoggedIn()) {
login_webui_ready_ = false;
new OOBEWebuiReadyObserver(this);
}
« no previous file with comments | « ash/system/user/login_status.h ('k') | chrome/browser/chromeos/background/ash_user_wallpaper_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698