When a user logs into sync, the appropriate cookies are retrieved so that
she is already logged into Google web services, and does not need to enter
her username and password again.
This feature is on by default, but can be turned off by specifying
--disable-auto-login on the command line or the about:flags page.
BUG=None
TEST=Make sure the browser has no google or youtube cookies. Either clear
all the cookies or start with a brand new profile. Go to menu item
"Wrench / Options", go to the tab "Personal stuff", and click the "Enable
these features..." button to enable sync. Follow the wizard to login to your
google account and finish the sync process. Once terminated, browse to
gmail.com and you should be already logged in.
Review URL: http://codereview.chromium.org/7121014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89842 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 69f994b..f847762 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -332,6 +332,13 @@
SINGLE_VALUE_TYPE(switches::kPreloadInstantSearch)
},
{
+ "disable-auto-login",
+ IDS_FLAGS_AUTO_LOGIN_NAME,
+ IDS_FLAGS_AUTO_LOGIN_DESCRIPTION,
+ kOsMac | kOsWin | kOsLinux,
+ SINGLE_VALUE_TYPE(switches::kDisableAutoLogin)
+ },
+ {
"static-ip-config",
IDS_FLAGS_STATIC_IP_CONFIG_NAME,
IDS_FLAGS_STATIC_IP_CONFIG_DESCRIPTION,