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

Issue 589663004: Setting max TTL for upstream GCM messages to 1 day to match server side (Closed)

Created:
6 years, 3 months ago by fgorski
Modified:
6 years, 3 months ago
Reviewers:
scheib, Nicolas Zea, jianli
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, zea+watch_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Setting max TTL for upstream GCM messages to 1 day to match server side Updating relevant tests. BUG=413801 R=jianli@chromium.org,zea@chromium.org,scheib@chromium.org Committed: https://crrev.com/0dfb6cdfa63a13d74758b1e97c33b7f4941f1e57 Cr-Commit-Position: refs/heads/master@{#296083}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Addressing CL feedback #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -7 lines) Patch
M chrome/browser/extensions/api/gcm/gcm_apitest.cc View 1 1 chunk +1 line, -1 line 1 comment Download
M chrome/common/extensions/api/gcm.json View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/test/data/extensions/api_test/gcm/functions/send/send.js View 2 chunks +2 lines, -2 lines 0 comments Download
M components/gcm_driver/gcm_client.h View 1 1 chunk +1 line, -1 line 0 comments Download
M components/gcm_driver/gcm_client.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M google_apis/gcm/base/mcs_util.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (2 generated)
fgorski
Please take a look. This is a safe change because we don't have that many ...
6 years, 3 months ago (2014-09-22 18:44:51 UTC) #2
jianli
lgtm https://codereview.chromium.org/589663004/diff/1/chrome/browser/extensions/api/gcm/gcm_apitest.cc File chrome/browser/extensions/api/gcm/gcm_apitest.cc (right): https://codereview.chromium.org/589663004/diff/1/chrome/browser/extensions/api/gcm/gcm_apitest.cc#newcode174 chrome/browser/extensions/api/gcm/gcm_apitest.cc:174: EXPECT_EQ(24 * 60 * 60, message.time_to_live); nit: can ...
6 years, 3 months ago (2014-09-22 18:48:58 UTC) #3
Nicolas Zea
https://developer.android.com/google/gcm/adv.html#ttl Seems to claim the TTL is 4 weeks. Is that not right?
6 years, 3 months ago (2014-09-22 19:01:39 UTC) #4
fgorski
On 2014/09/22 19:01:39, Nicolas Zea wrote: > https://developer.android.com/google/gcm/adv.html#ttl Seems to claim the TTL is > ...
6 years, 3 months ago (2014-09-22 20:04:09 UTC) #5
Nicolas Zea
ah, got it. LGTM then
6 years, 3 months ago (2014-09-22 20:07:30 UTC) #6
fgorski
Addressed feedback (Jian, PTAL) and rerunning try bots. https://codereview.chromium.org/589663004/diff/20001/chrome/browser/extensions/api/gcm/gcm_apitest.cc File chrome/browser/extensions/api/gcm/gcm_apitest.cc (right): https://codereview.chromium.org/589663004/diff/20001/chrome/browser/extensions/api/gcm/gcm_apitest.cc#newcode174 chrome/browser/extensions/api/gcm/gcm_apitest.cc:174: EXPECT_EQ(gcm::GCMClient::OutgoingMessage::kMaximumTTL, ...
6 years, 3 months ago (2014-09-22 21:12:50 UTC) #7
scheib
lgtm
6 years, 3 months ago (2014-09-22 22:56:26 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/589663004/20001
6 years, 3 months ago (2014-09-22 23:00:38 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001) as b6d7a99d8c352c43a2249a96211ee6076ef55d85
6 years, 3 months ago (2014-09-22 23:06:03 UTC) #11
commit-bot: I haz the power
6 years, 3 months ago (2014-09-22 23:06:37 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/0dfb6cdfa63a13d74758b1e97c33b7f4941f1e57
Cr-Commit-Position: refs/heads/master@{#296083}

Powered by Google App Engine
This is Rietveld 408576698