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

Unified Diff: chromeos/chromeos_switches.cc

Issue 13671005: Re-apply 192420: Move login switches to src/chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 | « chromeos/chromeos_switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/chromeos_switches.cc
diff --git a/chromeos/chromeos_switches.cc b/chromeos/chromeos_switches.cc
index e08e74a565593c6f2bd12160a9866636c3f54676..6f0901dfd9fb0543744d15e224d4e4524309d341 100644
--- a/chromeos/chromeos_switches.cc
+++ b/chromeos/chromeos_switches.cc
@@ -28,19 +28,52 @@ const char kEnableNewNetworkChangeNotifier[] =
const char kEnableOOBEBlockingUpdate[] =
"enable-oobe-blocking-update";
-// Enables usage of the new ManagedNetworkConfigurationHandler and
-// NetworkConfigurationHandler singletons.
-const char kUseNewNetworkConfigurationHandlers[] =
- "use-new-network-configuration-handlers";
-
// Enables screensaver extensions.
const char kEnableScreensaverExtensions[] = "enable-screensaver-extensions";
// Enable "interactive" mode for stub implemenations (e.g. NetworkStateHandler)
const char kEnableStubInteractive[] = "enable-stub-interactive";
+// Passed to Chrome on first boot. Not passed on restart after sign out.
+const char kFirstBoot[] = "first-boot";
+
+// Usually in browser tests the usual login manager bringup is skipped so that
+// tests can change how it's brought up. This flag disables that.
+const char kForceLoginManagerInTests[] = "force-login-manager-in-tests";
+
+// Indicates that the browser is in "browse without sign-in" (Guest session)
+// mode. Should completely disable extensions, sync and bookmarks.
+const char kGuestSession[] = "bwsi";
+
+// Enables Chrome-as-a-login-manager behavior.
+const char kLoginManager[] = "login-manager";
+
+// Specifies a password to be used to login (along with login-user).
+const char kLoginPassword[] = "login-password";
+
+// Specifies the profile to use once a chromeos user is logged in.
+const char kLoginProfile[] = "login-profile";
+
+// Allows to override the first login screen. The value should be the name of
+// the first login screen to show (see
+// chrome/browser/chromeos/login/login_wizard_view.cc for actual names).
+// Ignored if kLoginManager is not specified. TODO(avayvod): Remove when the
+// switch is no longer needed for testing.
+const char kLoginScreen[] = "login-screen";
+
+// Controls the initial login screen size. Pass width,height.
+const char kLoginScreenSize[] = "login-screen-size";
+
+// Specifies the user which is already logged in.
+const char kLoginUser[] = "login-user";
+
// Sends test messages on first call to RequestUpdate (stub only).
const char kSmsTestMessages[] = "sms-test-messages";
-} // namespace switches
+// Enables usage of the new ManagedNetworkConfigurationHandler and
+// NetworkConfigurationHandler singletons.
+const char kUseNewNetworkConfigurationHandlers[] =
+ "use-new-network-configuration-handlers";
+
+} // namespace switches
} // namespace chromeos
« no previous file with comments | « chromeos/chromeos_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698