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

Unified Diff: trunk/src/chrome/browser/ui/startup/startup_browser_creator.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
Index: trunk/src/chrome/browser/ui/startup/startup_browser_creator.cc
===================================================================
--- trunk/src/chrome/browser/ui/startup/startup_browser_creator.cc (revision 192508)
+++ trunk/src/chrome/browser/ui/startup/startup_browser_creator.cc (working copy)
@@ -71,7 +71,6 @@
#include "chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.h"
#include "chrome/browser/chromeos/login/user_manager.h"
#include "chrome/browser/chromeos/profile_startup.h"
-#include "chromeos/chromeos_switches.h"
#endif
#if defined(TOOLKIT_VIEWS) && defined(OS_LINUX)
@@ -457,7 +456,7 @@
#if defined(OS_CHROMEOS)
// kLoginManager will cause Chrome to start up with the ChromeOS login
// screen instead of a browser window, so it won't load any tabs.
- } else if (command_line.HasSwitch(chromeos::switches::kLoginManager)) {
+ } else if (command_line.HasSwitch(switches::kLoginManager)) {
expected_tab_count = 0;
#endif
} else if (command_line.HasSwitch(switches::kRestoreLastSession)) {
@@ -569,8 +568,8 @@
#if defined(OS_CHROMEOS)
// The browser will be launched after the user logs in.
- if (command_line.HasSwitch(chromeos::switches::kLoginManager) ||
- command_line.HasSwitch(chromeos::switches::kLoginPassword)) {
+ if (command_line.HasSwitch(switches::kLoginManager) ||
+ command_line.HasSwitch(switches::kLoginPassword)) {
silent_launch = true;
}

Powered by Google App Engine
This is Rietveld 408576698