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

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

Issue 13590004: Revert 192504 "Re-apply 192420: Move login switches to src/chromeos" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 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
« no previous file with comments | « no previous file | trunk/src/chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/browser/automation/automation_provider.cc
===================================================================
--- trunk/src/chrome/browser/automation/automation_provider.cc (revision 192508)
+++ trunk/src/chrome/browser/automation/automation_provider.cc (working copy)
@@ -78,7 +78,6 @@
#if defined(OS_CHROMEOS)
#include "chrome/browser/chromeos/login/user_manager.h"
-#include "chromeos/chromeos_switches.h"
#endif // defined(OS_CHROMEOS)
using WebKit::WebFindOptions;
@@ -217,8 +216,7 @@
if (use_initial_load_observers_) {
// Wait for webui login to be ready.
// Observer will delete itself.
- if (CommandLine::ForCurrentProcess()->HasSwitch(
- chromeos::switches::kLoginManager) &&
+ if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kLoginManager) &&
!chromeos::UserManager::Get()->IsUserLoggedIn()) {
login_webui_ready_ = false;
new OOBEWebuiReadyObserver(this);
« no previous file with comments | « no previous file | trunk/src/chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698