summaryrefslogtreecommitdiffstats
path: root/chromeos/chromeos_switches.cc
diff options
context:
space:
mode:
authornkostylev@chromium.org <nkostylev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-03 08:46:57 +0000
committernkostylev@chromium.org <nkostylev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-03 08:46:57 +0000
commit5ff62e44b2cd33d2cc9225c63c19f20263c645b1 (patch)
treef187281506a86f0db346cfbd76271fc56b546664 /chromeos/chromeos_switches.cc
parent2c988d7a5f25a0d6b4b84baf4d1e6e0396be0e54 (diff)
downloadchromium_src-5ff62e44b2cd33d2cc9225c63c19f20263c645b1.zip
chromium_src-5ff62e44b2cd33d2cc9225c63c19f20263c645b1.tar.gz
chromium_src-5ff62e44b2cd33d2cc9225c63c19f20263c645b1.tar.bz2
[cros] Remove unused flag --login-password and StubLogin
Starting stub user session is the default behavior on non-cros machine (like dev workstation or on bots running tests) when --login-manager switch is not passed. Removing deprecated --login-password switch since its value is no longer really used on non-cros machines (no ClientLogin) and using this stub user code path on real CrOS machines is not possible as well. Removing StubLogin class as well, stub user session starts automatically. BUG=370175 TEST=existing browser_tests. Review URL: https://codereview.chromium.org/363903002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281224 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/chromeos_switches.cc')
-rw-r--r--chromeos/chromeos_switches.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/chromeos/chromeos_switches.cc b/chromeos/chromeos_switches.cc
index 6d413e1..97274d8 100644
--- a/chromeos/chromeos_switches.cc
+++ b/chromeos/chromeos_switches.cc
@@ -164,11 +164,11 @@ const char kKioskModeScreensaverPath[] = "kiosk-mode-screensaver-path";
// 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. This is
-// required unless --multi-profile is set.
+// Specifies the profile to use once a chromeos user is logged in.
+// This parameter is ignored if user goes through login screen since user_id
+// hash defines which profile directory to use.
+// In case of browser restart within active session this parameter is used
+// to pass user_id hash for primary user.
const char kLoginProfile[] = "login-profile";
// Specifies the user which is already logged in.