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

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

Issue 8436002: [cros] Remove Views implementation for login/OOBE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix all tests except of EnrollmentOK browser_test Created 9 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/automation/automation_provider.cc
diff --git a/chrome/browser/automation/automation_provider.cc b/chrome/browser/automation/automation_provider.cc
index 01b4377eb0ff62af8e007499190cdd28b14403eb..9ef55976270b7ab1c63b1c25071f7e19429b6c02 100644
--- a/chrome/browser/automation/automation_provider.cc
+++ b/chrome/browser/automation/automation_provider.cc
@@ -172,7 +172,7 @@ bool AutomationProvider::InitializeChannel(const std::string& channel_id) {
#if defined(OS_CHROMEOS)
// Wait for webui login to be ready.
// Observer will delete itself.
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kWebUILogin) &&
+ if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kLoginManager) &&
!chromeos::UserManager::Get()->user_is_logged_in()) {
login_webui_ready_ = false;
new LoginWebuiReadyObserver(this);

Powered by Google App Engine
This is Rietveld 408576698