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

Side by Side Diff: chrome/common/net/gaia/gaia_constants.h

Issue 10928017: Moving google_apis and GaiaClient to src/google_apis. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head 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
OLDNEW
(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 // Constants used by IssueAuthToken and ClientLogin
6
7 #ifndef CHROME_COMMON_NET_GAIA_GAIA_CONSTANTS_H_
8 #define CHROME_COMMON_NET_GAIA_GAIA_CONSTANTS_H_
9
10 namespace GaiaConstants {
11
12 // Gaia sources for accounting
13 extern const char kChromeOSSource[];
14 extern const char kChromeSource[];
15
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[];
21 extern const char kCloudPrintService[];
22 extern const char kDeviceManagementService[];
23 extern const char kDeviceManagementServiceOAuth[];
24 extern const char kCWSService[];
25 extern const char kCWSNotificationScope[];
26 extern const char kLSOService[];
27
28 // Used with uber auth tokens when needed.
29 extern const char kGaiaSid[];
30 extern const char kGaiaLsid[];
31 extern const char kGaiaOAuthToken[];
32 extern const char kGaiaOAuthSecret[];
33 extern const char kGaiaOAuthDuration[];
34 extern const char kGaiaOAuth2LoginRefreshToken[];
35 extern const char kGaiaOAuth2LoginAccessToken[];
36
37 // Used to build ClientOAuth requests. These are the names of keys used in
38 // the json dictionaries that are sent in the protocol.
39 extern const char kClientOAuthEmailKey[];
40 extern const char kClientOAuthPasswordKey[];
41 extern const char kClientOAuthScopesKey[];
42 extern const char kClientOAuthOAuth2ClientIdKey[];
43 extern const char kClientOAuthFriendlyDeviceNameKey[];
44 extern const char kClientOAuthAcceptsChallengesKey[];
45 extern const char kClientOAuthLocaleKey[];
46 extern const char kClientOAuthFallbackNameKey[];
47 extern const char kClientOAuthNameKey[];
48 extern const char kClientOAuthChallengeTokenKey[];
49 extern const char kClientOAuthchallengeReplyKey[];
50
51 } // namespace GaiaConstants
52
53 #endif // CHROME_COMMON_NET_GAIA_GAIA_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/common/net/gaia/gaia_authenticator_unittest.cc ('k') | chrome/common/net/gaia/gaia_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698