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

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

Issue 12380006: Build a new TokenCacheService so I can stop using TokenService for something it wasn't designed for. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Token Cache Service - CR fixes per DCheng and ATWilson Created 7 years, 9 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
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 {
(...skipping 17 matching lines...) Expand all
28 extern const char kGaiaSid[]; 28 extern const char kGaiaSid[];
29 extern const char kGaiaLsid[]; 29 extern const char kGaiaLsid[];
30 extern const char kGaiaOAuthToken[]; 30 extern const char kGaiaOAuthToken[];
31 extern const char kGaiaOAuthSecret[]; 31 extern const char kGaiaOAuthSecret[];
32 extern const char kGaiaOAuthDuration[]; 32 extern const char kGaiaOAuthDuration[];
33 extern const char kGaiaOAuth2LoginRefreshToken[]; 33 extern const char kGaiaOAuth2LoginRefreshToken[];
34 extern const char kGaiaOAuth2LoginAccessToken[]; 34 extern const char kGaiaOAuth2LoginAccessToken[];
35 35
36 // Used to construct a channel ID for push messaging. 36 // Used to construct a channel ID for push messaging.
37 extern const char kObfuscatedGaiaId[]; 37 extern const char kObfuscatedGaiaId[];
38 // How long to keep an obfuscated Gaia Id in an internal cache.
39 extern const int kObfuscatedGaiaIdTimeoutInDays;
Andrew T Wilson (Slow) 2013/03/07 11:48:09 BTW, this seems like an odd place to keep this. Ar
Pete Williamson 2013/03/07 20:02:46 Done.
38 40
39 // Used to build ClientOAuth requests. These are the names of keys used in 41 // Used to build ClientOAuth requests. These are the names of keys used in
40 // the json dictionaries that are sent in the protocol. 42 // the json dictionaries that are sent in the protocol.
41 extern const char kClientOAuthEmailKey[]; 43 extern const char kClientOAuthEmailKey[];
42 extern const char kClientOAuthPasswordKey[]; 44 extern const char kClientOAuthPasswordKey[];
43 extern const char kClientOAuthScopesKey[]; 45 extern const char kClientOAuthScopesKey[];
44 extern const char kClientOAuthOAuth2ClientIdKey[]; 46 extern const char kClientOAuthOAuth2ClientIdKey[];
45 extern const char kClientOAuthFriendlyDeviceNameKey[]; 47 extern const char kClientOAuthFriendlyDeviceNameKey[];
46 extern const char kClientOAuthAcceptsChallengesKey[]; 48 extern const char kClientOAuthAcceptsChallengesKey[];
47 extern const char kClientOAuthLocaleKey[]; 49 extern const char kClientOAuthLocaleKey[];
48 extern const char kClientOAuthFallbackNameKey[]; 50 extern const char kClientOAuthFallbackNameKey[];
49 extern const char kClientOAuthNameKey[]; 51 extern const char kClientOAuthNameKey[];
50 extern const char kClientOAuthChallengeTokenKey[]; 52 extern const char kClientOAuthChallengeTokenKey[];
51 extern const char kClientOAuthchallengeReplyKey[]; 53 extern const char kClientOAuthchallengeReplyKey[];
52 54
53 } // namespace GaiaConstants 55 } // namespace GaiaConstants
54 56
55 #endif // GOOGLE_APIS_GAIA_GAIA_CONSTANTS_H_ 57 #endif // GOOGLE_APIS_GAIA_GAIA_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698