OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_COMMON_NET_GAIA_GAIA_SWITCHES_H_ | |
6 #define CHROME_COMMON_NET_GAIA_GAIA_SWITCHES_H_ | |
7 | |
8 namespace switches { | |
9 | |
10 // Supplies custom client login to OAuth2 URL for testing purposes. | |
11 extern const char kClientLoginToOAuth2Url[]; | |
12 | |
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 | |
15 // omitted. The default value is "www.google.com". | |
16 extern const char kGaiaHost[]; | |
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 | |
29 // for testing in cases where authentication path prefix differs from the one | |
30 // used in production. | |
31 extern const char kGaiaUrlPath[]; | |
32 | |
33 // Specifies custom OAuth1 login scope for testing purposes. | |
34 extern const char kOAuth1LoginScope[]; | |
35 | |
36 // Specifies custom OAuth2 issue token URL for testing purposes. | |
37 extern const char kOAuth2IssueTokenUrl[]; | |
38 | |
39 // Specifies custom OAuth2 token URL for testing purposes. | |
40 extern const char kOAuth2TokenUrl[]; | |
41 | |
42 } // namespace switches | |
43 | |
44 #endif // CHROME_COMMON_NET_GAIA_GAIA_SWITCHES_H_ | |
OLD | NEW |