diff options
author | altimofeev@chromium.org <altimofeev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-11 18:44:25 +0000 |
---|---|---|
committer | altimofeev@chromium.org <altimofeev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-11 18:44:25 +0000 |
commit | eee10d197f9bde2625fa467ad15c4377fc8e3a0b (patch) | |
tree | 99d1d02a4d30d04efd751c4130646dcc4e32ccf7 /chrome/common | |
parent | a4c82d8ed8909c4120b395da057ff06ade6b203b (diff) | |
download | chromium_src-eee10d197f9bde2625fa467ad15c4377fc8e3a0b.zip chromium_src-eee10d197f9bde2625fa467ad15c4377fc8e3a0b.tar.gz chromium_src-eee10d197f9bde2625fa467ad15c4377fc8e3a0b.tar.bz2 |
Disables full sync option for the owner when password is changed.
Currently, full sync for the owner leads to ownership loss. This CL
disables full sync radio button in the view, that appears when password
was changed.
BUG=chromium-os:8630
TEST=Login to device. Log out. Change user password in Guest Session.
Try to login again. In the showed window notice, that full sync options
is grayed out.
Review URL: http://codereview.chromium.org/4699001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65823 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/chrome_switches.cc | 3 | ||||
-rw-r--r-- | chrome/common/chrome_switches.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc index 386395b..8f115c4 100644 --- a/chrome/common/chrome_switches.cc +++ b/chrome/common/chrome_switches.cc @@ -1181,6 +1181,9 @@ const char kLoginUser[] = "login-user"; // Specifies a password to be used to login (along with login-user). const char kLoginPassword[] = "login-password"; +// Allows to emulate situation when user logins with new password. +const char kLoginUserWithNewPassword[] = "login-user-with-new-password"; + // Attempts to perform Chrome OS offline and online login in parallel. const char kParallelAuth[] = "parallel-auth"; diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h index 15ec7e5..f6e6f32 100644 --- a/chrome/common/chrome_switches.h +++ b/chrome/common/chrome_switches.h @@ -334,6 +334,7 @@ extern const char kTestLoadLibcros[]; extern const char kLoginProfile[]; extern const char kLoginUser[]; extern const char kLoginPassword[]; +extern const char kLoginUserWithNewPassword[]; extern const char kParallelAuth[]; extern const char kChromeosFrame[]; extern const char kCandidateWindowLang[]; |