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

Unified Diff: google_apis/gaia/gaia_switches.h

Issue 11786006: Added flags to override hosts for LSO URLs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 | « chrome/browser/resources/gaia_auth/manifest_test.json ('k') | google_apis/gaia/gaia_switches.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gaia/gaia_switches.h
diff --git a/google_apis/gaia/gaia_switches.h b/google_apis/gaia/gaia_switches.h
index bdb3f28fb18e8bc52c51a573a07525919714de3d..52680dd0e63e09120f84ec1f98a9a3f81651731b 100644
--- a/google_apis/gaia/gaia_switches.h
+++ b/google_apis/gaia/gaia_switches.h
@@ -12,7 +12,7 @@ extern const char kClientLoginToOAuth2Url[];
// Specifies the backend server used for gaia authentications, like sync or
// policies for example. The https:// prefix and the trailing slash should be
-// omitted. The default value is "www.google.com".
+// omitted. The default value is "accounts.google.com".
extern const char kGaiaHost[];
// Specifies the path prefix for GAIA authentication URL. It should be used
@@ -20,6 +20,19 @@ extern const char kGaiaHost[];
// used in production.
extern const char kGaiaUrlPath[];
+// Specifies the backend server used for Google API calls. The https:// prefix
+// and the trailing slash should be omitted.
+// The default value is "www.googleapis.com".
+extern const char kGoogleApisHost[];
+
+// Specifies the backend server used for lso authentication calls.
+// The https:// prefix and the trailing slash should be
+// omitted. The default value is "accounts.google.com".
+extern const char kLsoHost[];
+
+// TODO(zelidrag): Get rid of all following since all URLs should be
+// controlled only with --gaia-host, --lso-host and --google-apis-host.
+
// Specifies custom OAuth1 login scope for testing purposes.
extern const char kOAuth1LoginScope[];
« no previous file with comments | « chrome/browser/resources/gaia_auth/manifest_test.json ('k') | google_apis/gaia/gaia_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698