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

Unified Diff: google_apis/gcm/gcm_client.h

Issue 270783002: [GCM] Add more UMA to GCM (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix trybots Created 6 years, 7 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/gcm/gcm_client.h
diff --git a/google_apis/gcm/gcm_client.h b/google_apis/gcm/gcm_client.h
index 28c9ef2b453d5c837285bbaca997b379ed9c0e38..89dea3435d5d9274951e7b9113ba076e33830821 100644
--- a/google_apis/gcm/gcm_client.h
+++ b/google_apis/gcm/gcm_client.h
@@ -67,6 +67,8 @@ class GCM_EXPORT GCMClient {
// In seconds.
int time_to_live;
MessageData data;
+
+ static const int kMaximumTTL = 60 * 60 * 24 * 7 * 4; // 4 weeks.
fgorski 2014/05/08 18:08:36 nit: we are using "big endian" everywhere, making
jianli 2014/05/08 18:40:07 Done.
};
// Message being received from the other party.

Powered by Google App Engine
This is Rietveld 408576698