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. |