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

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 Service - update namespace 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..1b061b18059276d49b1b9ac93145b876c9ba1bd3 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"
dcheng 2013/03/05 22:38:44 Remove this include.
+
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 int kObfuscatedGaiaIdTimeoutInDays;
// 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