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

Unified Diff: chrome/browser/extensions/api/gcm/gcm_apitest.cc

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: 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
« no previous file with comments | « no previous file | chrome/common/extensions/api/gcm.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/gcm/gcm_apitest.cc
diff --git a/chrome/browser/extensions/api/gcm/gcm_apitest.cc b/chrome/browser/extensions/api/gcm/gcm_apitest.cc
index 0706b2523d9b735db8dc3c6ea7479ad38a9a4be1..f6701dfeb0a94db4f606ddf6b42367d81efb5388 100644
--- a/chrome/browser/extensions/api/gcm/gcm_apitest.cc
+++ b/chrome/browser/extensions/api/gcm/gcm_apitest.cc
@@ -171,7 +171,7 @@ IN_PROC_BROWSER_TEST_F(GcmApiTest, SendMessageDefaultTTL) {
service()->last_sent_message();
gcm::GCMClient::MessageData::const_iterator iter;
- EXPECT_EQ(2419200, message.time_to_live);
+ EXPECT_EQ(24 * 60 * 60, message.time_to_live);
jianli 2014/09/22 18:48:57 nit: can you refer to OutgoingMessage::kMaximumTTL
}
IN_PROC_BROWSER_TEST_F(GcmApiTest, OnMessagesDeleted) {
« no previous file with comments | « no previous file | chrome/common/extensions/api/gcm.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698