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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef GOOGLE_APIS_GAIA_GAIA_SWITCHES_H_ 5 #ifndef GOOGLE_APIS_GAIA_GAIA_SWITCHES_H_
6 #define GOOGLE_APIS_GAIA_GAIA_SWITCHES_H_ 6 #define GOOGLE_APIS_GAIA_GAIA_SWITCHES_H_
7 7
8 namespace switches { 8 namespace switches {
9 9
10 // Supplies custom client login to OAuth2 URL for testing purposes. 10 // Supplies custom client login to OAuth2 URL for testing purposes.
11 extern const char kClientLoginToOAuth2Url[]; 11 extern const char kClientLoginToOAuth2Url[];
12 12
13 // Specifies the backend server used for gaia authentications, like sync or 13 // Specifies the backend server used for gaia authentications, like sync or
14 // policies for example. The https:// prefix and the trailing slash should be 14 // policies for example. The https:// prefix and the trailing slash should be
15 // omitted. The default value is "www.google.com". 15 // omitted. The default value is "accounts.google.com".
16 extern const char kGaiaHost[]; 16 extern const char kGaiaHost[];
17 17
18 // Specifies the path prefix for GAIA authentication URL. It should be used 18 // Specifies the path prefix for GAIA authentication URL. It should be used
19 // for testing in cases where authentication path prefix differs from the one 19 // for testing in cases where authentication path prefix differs from the one
20 // used in production. 20 // used in production.
21 extern const char kGaiaUrlPath[]; 21 extern const char kGaiaUrlPath[];
22 22
23 // Specifies the backend server used for Google API calls. The https:// prefix
24 // and the trailing slash should be omitted.
25 // The default value is "www.googleapis.com".
26 extern const char kGoogleApisHost[];
27
28 // Specifies the backend server used for lso authentication calls.
29 // The https:// prefix and the trailing slash should be
30 // omitted. The default value is "accounts.google.com".
31 extern const char kLsoHost[];
32
33 // TODO(zelidrag): Get rid of all following since all URLs should be
34 // controlled only with --gaia-host, --lso-host and --google-apis-host.
35
23 // Specifies custom OAuth1 login scope for testing purposes. 36 // Specifies custom OAuth1 login scope for testing purposes.
24 extern const char kOAuth1LoginScope[]; 37 extern const char kOAuth1LoginScope[];
25 38
26 // Specifies custom OAuth2 issue token URL for testing purposes. 39 // Specifies custom OAuth2 issue token URL for testing purposes.
27 extern const char kOAuth2IssueTokenUrl[]; 40 extern const char kOAuth2IssueTokenUrl[];
28 41
29 // Specifies custom OAuth2 token URL for testing purposes. 42 // Specifies custom OAuth2 token URL for testing purposes.
30 extern const char kOAuth2TokenUrl[]; 43 extern const char kOAuth2TokenUrl[];
31 44
32 // Specifies custom OAuth user info URL for testing purposes. 45 // Specifies custom OAuth user info URL for testing purposes.
33 extern const char kOAuthUserInfoUrl[]; 46 extern const char kOAuthUserInfoUrl[];
34 } // namespace switches 47 } // namespace switches
35 48
36 #endif // GOOGLE_APIS_GAIA_GAIA_SWITCHES_H_ 49 #endif // GOOGLE_APIS_GAIA_GAIA_SWITCHES_H_
OLDNEW
« 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