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

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

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 - more CR fixes per DCheng 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 definitions 5 // Constants definitions
6 6
7 #include "google_apis/gaia/gaia_constants.h" 7 #include "google_apis/gaia/gaia_constants.h"
8 8
9 namespace GaiaConstants { 9 namespace GaiaConstants {
10 10
(...skipping 29 matching lines...) Expand all
40 const char kGaiaSid[] = "sid"; 40 const char kGaiaSid[] = "sid";
41 const char kGaiaLsid[] = "lsid"; 41 const char kGaiaLsid[] = "lsid";
42 const char kGaiaOAuthToken[] = "oauthToken"; 42 const char kGaiaOAuthToken[] = "oauthToken";
43 const char kGaiaOAuthSecret[] = "oauthSecret"; 43 const char kGaiaOAuthSecret[] = "oauthSecret";
44 const char kGaiaOAuthDuration[] = "3600"; 44 const char kGaiaOAuthDuration[] = "3600";
45 const char kGaiaOAuth2LoginRefreshToken[] = "oauth2LoginRefreshToken"; 45 const char kGaiaOAuth2LoginRefreshToken[] = "oauth2LoginRefreshToken";
46 const char kGaiaOAuth2LoginAccessToken[] = "oauth2LoginAccessToken"; 46 const char kGaiaOAuth2LoginAccessToken[] = "oauth2LoginAccessToken";
47 47
48 // Used to construct a channel ID for push messaging. 48 // Used to construct a channel ID for push messaging.
49 const char kObfuscatedGaiaId[] = "obfuscatedGaiaId"; 49 const char kObfuscatedGaiaId[] = "obfuscatedGaiaId";
50 const int kObfuscatedGaiaIdTimeoutInDays = 30;
50 51
51 // Used to build ClientOAuth requests. These are the names of keys used when 52 // Used to build ClientOAuth requests. These are the names of keys used when
52 // building base::DictionaryValue that represent the json data that makes up 53 // building base::DictionaryValue that represent the json data that makes up
53 // the ClientOAuth endpoint protocol. The comment above each constant explains 54 // the ClientOAuth endpoint protocol. The comment above each constant explains
54 // what value is associated with that key. 55 // what value is associated with that key.
55 56
56 // Canonical email and password of the account to sign in. 57 // Canonical email and password of the account to sign in.
57 const char kClientOAuthEmailKey[] = "email"; 58 const char kClientOAuthEmailKey[] = "email";
58 const char kClientOAuthPasswordKey[] = "password"; 59 const char kClientOAuthPasswordKey[] = "password";
59 60
(...skipping 27 matching lines...) Expand all
87 // in kClientOAuthAcceptsChallengesKey from that original request. 88 // in kClientOAuthAcceptsChallengesKey from that original request.
88 const char kClientOAuthNameKey[] = "name"; 89 const char kClientOAuthNameKey[] = "name";
89 90
90 // The challenge token received in the original ClientOAuth request. 91 // The challenge token received in the original ClientOAuth request.
91 const char kClientOAuthChallengeTokenKey[] = "challenge_token"; 92 const char kClientOAuthChallengeTokenKey[] = "challenge_token";
92 93
93 // The dictionary that contains the challenge response. 94 // The dictionary that contains the challenge response.
94 const char kClientOAuthchallengeReplyKey[] = "challenge_reply"; 95 const char kClientOAuthchallengeReplyKey[] = "challenge_reply";
95 96
96 } // namespace GaiaConstants 97 } // namespace GaiaConstants
OLDNEW
« google_apis/gaia/gaia_constants.h ('K') | « google_apis/gaia/gaia_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698