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

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

Issue 265563002: Revert of Use new people.get api instead of oauth2/v1/userinfo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 // 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
22 // OAuth2 scopes.
23 extern const char kOAuth1LoginScope[]; 21 extern const char kOAuth1LoginScope[];
24 extern const char kOAuthWrapBridgeUserInfoScope[]; 22 extern const char kOAuthWrapBridgeUserInfoScope[];
25 extern const char kDeviceManagementServiceOAuth[]; 23 extern const char kDeviceManagementServiceOAuth[];
26 extern const char kAnyApiOAuth2Scope[]; 24 extern const char kAnyApiOAuth2Scope[];
27 extern const char kChromeSyncOAuth2Scope[]; 25 extern const char kChromeSyncOAuth2Scope[];
28 extern const char kChromeSyncManagedOAuth2Scope[]; 26 extern const char kChromeSyncManagedOAuth2Scope[];
29 extern const char kGoogleTalkOAuth2Scope[]; 27 extern const char kGoogleTalkOAuth2Scope[];
30 extern const char kGoogleUserInfoEmail[];
31 extern const char kGoogleUserInfoProfile[];
32 28
33 // Used with uber auth tokens when needed. 29 // Used with uber auth tokens when needed.
34 extern const char kGaiaSid[]; 30 extern const char kGaiaSid[];
35 extern const char kGaiaLsid[]; 31 extern const char kGaiaLsid[];
36 extern const char kGaiaOAuthToken[]; 32 extern const char kGaiaOAuthToken[];
37 extern const char kGaiaOAuthSecret[]; 33 extern const char kGaiaOAuthSecret[];
38 extern const char kGaiaOAuthDuration[]; 34 extern const char kGaiaOAuthDuration[];
39 extern const char kGaiaOAuth2LoginRefreshToken[]; 35 extern const char kGaiaOAuth2LoginRefreshToken[];
40 36
41 // Used to construct a channel ID for push messaging. 37 // Used to construct a channel ID for push messaging.
42 extern const char kObfuscatedGaiaId[]; 38 extern const char kObfuscatedGaiaId[];
43 39
44 // Used by wallet sign in helper. 40 // Used by wallet sign in helper.
45 extern const char kClientOAuthEmailKey[]; 41 extern const char kClientOAuthEmailKey[];
46 42
47 } // namespace GaiaConstants 43 } // namespace GaiaConstants
48 44
49 #endif // GOOGLE_APIS_GAIA_GAIA_CONSTANTS_H_ 45 #endif // GOOGLE_APIS_GAIA_GAIA_CONSTANTS_H_
OLDNEW
« no previous file with comments | « components/policy/core/common/cloud/user_info_fetcher_unittest.cc ('k') | google_apis/gaia/gaia_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698