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

Unified Diff: components/gcm_driver/gcm_client.h

Issue 589663004: Setting max TTL for upstream GCM messages to 1 day to match server side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing CL feedback Created 6 years, 3 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: components/gcm_driver/gcm_client.h
diff --git a/components/gcm_driver/gcm_client.h b/components/gcm_driver/gcm_client.h
index 825c9fd2982ab3553ead6f30ea9a15c798e12cb3..abf2fd5e9bfb8029cab850a37460043ab8d514c7 100644
--- a/components/gcm_driver/gcm_client.h
+++ b/components/gcm_driver/gcm_client.h
@@ -99,7 +99,7 @@ class GCMClient {
int time_to_live;
MessageData data;
- static const int kMaximumTTL = 4 * 7 * 24 * 60 * 60; // 4 weeks.
+ static const int kMaximumTTL;
};
// Message being received from the other party.

Powered by Google App Engine
This is Rietveld 408576698