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

Side by Side Diff: google_apis/gaia/gaia_switches.h

Issue 10910234: Moved /GetOAuthToken (OAuth1) GAIA request to accounts.google.com. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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
« no previous file with comments | « no previous file | google_apis/gaia/gaia_switches.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "www.google.com".
16 extern const char kGaiaHost[]; 16 extern const char kGaiaHost[];
17 17
18 // Specifies the backend server used for OAuth authentication requests.
19 // The https:// prefix and the trailing slash should be
20 // omitted. The default value is "www.google.com".
21 extern const char kGaiaOAuthHost[];
22
23 // Specifies the path prefix for GAIA OAuth URLs. It should be used
24 // for testing in cases where authentication path prefix differs from the one
25 // used in production.
26 extern const char kGaiaOAuthUrlPath[];
27
28 // 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
29 // 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
30 // used in production. 20 // used in production.
31 extern const char kGaiaUrlPath[]; 21 extern const char kGaiaUrlPath[];
32 22
33 // Specifies custom OAuth1 login scope for testing purposes. 23 // Specifies custom OAuth1 login scope for testing purposes.
34 extern const char kOAuth1LoginScope[]; 24 extern const char kOAuth1LoginScope[];
35 25
36 // Specifies custom OAuth2 issue token URL for testing purposes. 26 // Specifies custom OAuth2 issue token URL for testing purposes.
37 extern const char kOAuth2IssueTokenUrl[]; 27 extern const char kOAuth2IssueTokenUrl[];
38 28
39 // Specifies custom OAuth2 token URL for testing purposes. 29 // Specifies custom OAuth2 token URL for testing purposes.
40 extern const char kOAuth2TokenUrl[]; 30 extern const char kOAuth2TokenUrl[];
41 31
42 } // namespace switches 32 } // namespace switches
43 33
44 #endif // GOOGLE_APIS_GAIA_GAIA_SWITCHES_H_ 34 #endif // GOOGLE_APIS_GAIA_GAIA_SWITCHES_H_
OLDNEW
« no previous file with comments | « no previous file | google_apis/gaia/gaia_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698