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

Issue 383993006: [GCM] Add a SelectiveAck test for midstream acks (Closed)

Created:
6 years, 5 months ago by Nicolas Zea
Modified:
6 years, 5 months ago
Reviewers:
fgorski
CC:
chromium-reviews, zea+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

[GCM] Add a SelectiveAck test for midstream acks SelectiveAck was over confirming due to unsigned in misuse. This adds a test that exercises the confirm logic used by SelectiveAck. BUG=392664 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283729

Patch Set 1 #

Total comments: 7

Patch Set 2 : Address comments #

Total comments: 2

Patch Set 3 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -1 line) Patch
M google_apis/gcm/engine/mcs_client.cc View 2 chunks +5 lines, -1 line 0 comments Download
M google_apis/gcm/engine/mcs_client_unittest.cc View 1 2 1 chunk +77 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Nicolas Zea
PTAL
6 years, 5 months ago (2014-07-11 22:14:43 UTC) #1
fgorski
Overall ok, but the test is hard to follow,as it is not that trivial. Could ...
6 years, 5 months ago (2014-07-14 20:59:36 UTC) #2
Nicolas Zea
PTAL https://codereview.chromium.org/383993006/diff/1/google_apis/gcm/engine/mcs_client.cc File google_apis/gcm/engine/mcs_client.cc (right): https://codereview.chromium.org/383993006/diff/1/google_apis/gcm/engine/mcs_client.cc#newcode842 google_apis/gcm/engine/mcs_client.cc:842: base::MessageLoop::current()->PostTask( On 2014/07/14 20:59:35, fgorski wrote: > Add ...
6 years, 5 months ago (2014-07-14 21:16:18 UTC) #3
fgorski
lgtm with nit https://codereview.chromium.org/383993006/diff/1/google_apis/gcm/engine/mcs_client.cc File google_apis/gcm/engine/mcs_client.cc (right): https://codereview.chromium.org/383993006/diff/1/google_apis/gcm/engine/mcs_client.cc#newcode842 google_apis/gcm/engine/mcs_client.cc:842: base::MessageLoop::current()->PostTask( On 2014/07/14 21:16:17, Nicolas Zea ...
6 years, 5 months ago (2014-07-15 04:07:58 UTC) #4
Nicolas Zea
https://codereview.chromium.org/383993006/diff/40001/google_apis/gcm/engine/mcs_client_unittest.cc File google_apis/gcm/engine/mcs_client_unittest.cc (right): https://codereview.chromium.org/383993006/diff/40001/google_apis/gcm/engine/mcs_client_unittest.cc#newcode610 google_apis/gcm/engine/mcs_client_unittest.cc:610: // Rebuild the client without any further acks from ...
6 years, 5 months ago (2014-07-16 17:58:32 UTC) #5
Nicolas Zea
The CQ bit was checked by zea@chromium.org
6 years, 5 months ago (2014-07-16 17:58:36 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/383993006/60001
6 years, 5 months ago (2014-07-16 18:05:36 UTC) #7
commit-bot: I haz the power
6 years, 5 months ago (2014-07-17 09:48:14 UTC) #8
Message was sent while issue was closed.
Change committed as 283729

Powered by Google App Engine
This is Rietveld 408576698