summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorzelidrag@chromium.org <zelidrag@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-31 06:38:38 +0000
committerzelidrag@chromium.org <zelidrag@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-31 06:38:38 +0000
commitf3a5817eea0aa3c9b176cd3b647742b3393ec25c (patch)
treeed9aed6ae7405cc2775b2751f1d4e2130c4635a6 /chrome/common
parentfb06c7ceb4f0cc2035fe2e280951e8ea00b24e5a (diff)
downloadchromium_src-f3a5817eea0aa3c9b176cd3b647742b3393ec25c.zip
chromium_src-f3a5817eea0aa3c9b176cd3b647742b3393ec25c.tar.gz
chromium_src-f3a5817eea0aa3c9b176cd3b647742b3393ec25c.tar.bz2
Added user email/password switches for test automation.
TEST=make sure --test-auth-email and --test-auth-password values are propagated to test auth extension content script while automating login process BUG=chromium-os:19866 Review URL: http://codereview.chromium.org/7809015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98929 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/chrome_switches.cc4
-rw-r--r--chrome/common/chrome_switches.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 519577d..77a1942 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -1122,6 +1122,10 @@ const char kCompressSystemFeedback[] = "compress-sys-feedback";
// Enables overriding the path for the default authentication extension.
const char kAuthExtensionPath[] = "auth-ext-path";
+// Enables overriding user credential for GAIA login.
+const char kTestAuthEmail[] = "test-auth-email";
+const char kTestAuthPassword[] = "test-auth-password";
+
// Enables archive file (zip) handling in file manager.
const char kEnableArchives[] = "enable-archives";
diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h
index 42db10e..c484cc2 100644
--- a/chrome/common/chrome_switches.h
+++ b/chrome/common/chrome_switches.h
@@ -308,6 +308,8 @@ extern const char kStubCros[];
extern const char kScreenSaverUrl[];
extern const char kCompressSystemFeedback[];
extern const char kAuthExtensionPath[];
+extern const char kTestAuthEmail[];
+extern const char kTestAuthPassword[];
extern const char kEnableArchives[];
#ifndef NDEBUG
extern const char kOobeSkipPostLogin[];