OLD | NEW |
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 // Constants used by IssueAuthToken and ClientLogin | 5 // Constants used by IssueAuthToken and ClientLogin |
6 | 6 |
7 #ifndef GOOGLE_APIS_GAIA_GAIA_CONSTANTS_H_ | 7 #ifndef GOOGLE_APIS_GAIA_GAIA_CONSTANTS_H_ |
8 #define GOOGLE_APIS_GAIA_GAIA_CONSTANTS_H_ | 8 #define GOOGLE_APIS_GAIA_GAIA_CONSTANTS_H_ |
9 | 9 |
10 namespace GaiaConstants { | 10 namespace GaiaConstants { |
11 | 11 |
12 // Gaia sources for accounting | 12 // Gaia sources for accounting |
13 extern const char kChromeOSSource[]; | 13 extern const char kChromeOSSource[]; |
14 extern const char kChromeSource[]; | 14 extern const char kChromeSource[]; |
15 | 15 |
16 // Gaia services for requesting | 16 // Gaia services for requesting |
17 extern const char kGaiaService[]; // uber token | 17 extern const char kGaiaService[]; // uber token |
18 extern const char kPicasaService[]; | 18 extern const char kPicasaService[]; |
19 extern const char kSyncService[]; | 19 extern const char kSyncService[]; |
20 extern const char kRemotingService[]; | 20 extern const char kRemotingService[]; |
21 extern const char kCloudPrintService[]; | 21 extern const char kCloudPrintService[]; |
22 extern const char kDeviceManagementServiceOAuth[]; | 22 extern const char kDeviceManagementServiceOAuth[]; |
| 23 extern const char kAnyApiOAuth2Scope[]; |
23 extern const char kLSOService[]; | 24 extern const char kLSOService[]; |
24 | 25 |
25 // Used with uber auth tokens when needed. | 26 // Used with uber auth tokens when needed. |
26 extern const char kGaiaSid[]; | 27 extern const char kGaiaSid[]; |
27 extern const char kGaiaLsid[]; | 28 extern const char kGaiaLsid[]; |
28 extern const char kGaiaOAuthToken[]; | 29 extern const char kGaiaOAuthToken[]; |
29 extern const char kGaiaOAuthSecret[]; | 30 extern const char kGaiaOAuthSecret[]; |
30 extern const char kGaiaOAuthDuration[]; | 31 extern const char kGaiaOAuthDuration[]; |
31 extern const char kGaiaOAuth2LoginRefreshToken[]; | 32 extern const char kGaiaOAuth2LoginRefreshToken[]; |
32 | 33 |
(...skipping 10 matching lines...) Expand all Loading... |
43 extern const char kClientOAuthAcceptsChallengesKey[]; | 44 extern const char kClientOAuthAcceptsChallengesKey[]; |
44 extern const char kClientOAuthLocaleKey[]; | 45 extern const char kClientOAuthLocaleKey[]; |
45 extern const char kClientOAuthFallbackNameKey[]; | 46 extern const char kClientOAuthFallbackNameKey[]; |
46 extern const char kClientOAuthNameKey[]; | 47 extern const char kClientOAuthNameKey[]; |
47 extern const char kClientOAuthChallengeTokenKey[]; | 48 extern const char kClientOAuthChallengeTokenKey[]; |
48 extern const char kClientOAuthchallengeReplyKey[]; | 49 extern const char kClientOAuthchallengeReplyKey[]; |
49 | 50 |
50 } // namespace GaiaConstants | 51 } // namespace GaiaConstants |
51 | 52 |
52 #endif // GOOGLE_APIS_GAIA_GAIA_CONSTANTS_H_ | 53 #endif // GOOGLE_APIS_GAIA_GAIA_CONSTANTS_H_ |
OLD | NEW |