Roll src/third_party/WebKit 6b63e20:35e1984 (svn 201060:201061)
[chromium-blink-merge.git] / google_apis / gaia / gaia_constants.h
blob4786ac88bbf5b139c8a3c2ec7b89e13bbdba957e
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 // Constants used by IssueAuthToken and ClientLogin
7 #ifndef GOOGLE_APIS_GAIA_GAIA_CONSTANTS_H_
8 #define GOOGLE_APIS_GAIA_GAIA_CONSTANTS_H_
10 namespace GaiaConstants {
12 // Gaia sources for accounting
13 extern const char kChromeOSSource[];
14 extern const char kChromeSource[];
16 // Gaia services for requesting
17 extern const char kGaiaService[]; // uber token
18 extern const char kPicasaService[];
19 extern const char kSyncService[];
20 extern const char kRemotingService[];
22 // OAuth2 scopes.
23 extern const char kOAuth1LoginScope[];
24 extern const char kOAuthWrapBridgeUserInfoScope[];
25 extern const char kDeviceManagementServiceOAuth[];
26 extern const char kAnyApiOAuth2Scope[];
27 extern const char kChromeSyncOAuth2Scope[];
28 extern const char kChromeSyncSupervisedOAuth2Scope[];
29 extern const char kGoogleTalkOAuth2Scope[];
30 extern const char kGoogleUserInfoEmail[];
31 extern const char kGoogleUserInfoProfile[];
33 // Used with uber auth tokens when needed.
34 extern const char kGaiaSid[];
35 extern const char kGaiaLsid[];
36 extern const char kGaiaOAuthToken[];
37 extern const char kGaiaOAuthSecret[];
38 extern const char kGaiaOAuthDuration[];
39 extern const char kGaiaOAuth2LoginRefreshToken[];
41 // Used to construct a channel ID for push messaging.
42 extern const char kObfuscatedGaiaId[];
44 // Used by wallet sign in helper.
45 extern const char kClientOAuthEmailKey[];
47 } // namespace GaiaConstants
49 #endif // GOOGLE_APIS_GAIA_GAIA_CONSTANTS_H_