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

Unified 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 - CR changes per DCheng and ATWilson 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.h
diff --git a/google_apis/gaia/gaia_constants.h b/google_apis/gaia/gaia_constants.h
index d3aac05cb6f9193bb63eb274d030aa3c1356b1ac..02a363c6e190287144a1bb9ecf6950e2f3a43715 100644
--- a/google_apis/gaia/gaia_constants.h
+++ b/google_apis/gaia/gaia_constants.h
@@ -7,6 +7,8 @@
#ifndef GOOGLE_APIS_GAIA_GAIA_CONSTANTS_H_
#define GOOGLE_APIS_GAIA_GAIA_CONSTANTS_H_
+#include "base/time.h"
+
namespace GaiaConstants {
// Gaia sources for accounting
@@ -35,6 +37,8 @@ extern const char kGaiaOAuth2LoginAccessToken[];
// Used to construct a channel ID for push messaging.
extern const char kObfuscatedGaiaId[];
+// How long to keep an obfuscated Gaia Id in an internal cache, in milliseconds.
+extern const base::TimeDelta kObfuscatedGaiaIdTimeout;
// Used to build ClientOAuth requests. These are the names of keys used in
// the json dictionaries that are sent in the protocol.

Powered by Google App Engine
This is Rietveld 408576698