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

Unified 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: Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: google_apis/gaia/gaia_constants.cc
diff --git a/google_apis/gaia/gaia_constants.cc b/google_apis/gaia/gaia_constants.cc
index 730c901273aace59eaf89023f3ebab5891f2c40a..902c09583d81ecf49338cc282dde18a277af35e5 100644
--- a/google_apis/gaia/gaia_constants.cc
+++ b/google_apis/gaia/gaia_constants.cc
@@ -47,6 +47,8 @@ const char kGaiaOAuth2LoginAccessToken[] = "oauth2LoginAccessToken";
// Used to construct a channel ID for push messaging.
const char kObfuscatedGaiaId[] = "obfuscatedGaiaId";
+// Milliseconds in 30 days. To make this an int64, we have to precalculate it.
+const int64 kObfuscatedGaiaIdTimeout = GG_LONGLONG(0x9A7EC800);
// Used to build ClientOAuth requests. These are the names of keys used when
// building base::DictionaryValue that represent the json data that makes up
« chrome/browser/token_cache/token_cache_factory.cc ('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