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

Issue 213693002: [GCM] Add support for canary connection attempts (Closed)

Created:
6 years, 9 months ago by Nicolas Zea
Modified:
6 years, 8 months ago
CC:
chromium-reviews, jar (doing other things), asvitkine+watch_chromium.org
Visibility:
Public.

Description

[GCM] Add support for canary connection attempts Canary connection attempts occur on network changes, and are capable of bypassing backoff (without resetting it). As such they happen immediately if no connection attempt is already in progress, but if they fail backoff will be increased accordingly. BUG=355126 R=asvitkine@chromium.org, jianli@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260308

Patch Set 1 #

Patch Set 2 : Self review #

Patch Set 3 : Refactor tests #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+191 lines, -84 lines) Patch
M google_apis/gcm/engine/connection_factory.h View 1 chunk +1 line, -0 lines 0 comments Download
M google_apis/gcm/engine/connection_factory_impl.h View 1 2 4 chunks +19 lines, -4 lines 0 comments Download
M google_apis/gcm/engine/connection_factory_impl.cc View 1 2 9 chunks +69 lines, -24 lines 2 comments Download
M google_apis/gcm/engine/connection_factory_impl_unittest.cc View 1 2 18 chunks +98 lines, -56 lines 0 comments Download
M google_apis/gcm/engine/connection_handler_impl.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Nicolas Zea
PTAL
6 years, 9 months ago (2014-03-26 22:07:58 UTC) #1
jianli
lgtm
6 years, 9 months ago (2014-03-26 22:27:43 UTC) #2
Alexei Svitkine (slow)
histograms lgtm
6 years, 9 months ago (2014-03-27 21:00:51 UTC) #3
Nicolas Zea
Jian Li/Filip, please take another look, I've refactored due to an issue I noticed, and ...
6 years, 9 months ago (2014-03-28 02:31:37 UTC) #4
jianli
https://codereview.chromium.org/213693002/diff/60001/google_apis/gcm/engine/connection_factory_impl.cc File google_apis/gcm/engine/connection_factory_impl.cc (right): https://codereview.chromium.org/213693002/diff/60001/google_apis/gcm/engine/connection_factory_impl.cc#newcode97 google_apis/gcm/engine/connection_factory_impl.cc:97: if (connecting_ || waiting_for_backoff_) Now it becomes a bit ...
6 years, 9 months ago (2014-03-28 04:26:12 UTC) #5
Nicolas Zea
https://codereview.chromium.org/213693002/diff/60001/google_apis/gcm/engine/connection_factory_impl.cc File google_apis/gcm/engine/connection_factory_impl.cc (right): https://codereview.chromium.org/213693002/diff/60001/google_apis/gcm/engine/connection_factory_impl.cc#newcode97 google_apis/gcm/engine/connection_factory_impl.cc:97: if (connecting_ || waiting_for_backoff_) On 2014/03/28 04:26:13, jianli wrote: ...
6 years, 9 months ago (2014-03-28 17:53:42 UTC) #6
jianli
lgtm
6 years, 9 months ago (2014-03-28 19:19:32 UTC) #7
Nicolas Zea
The CQ bit was checked by zea@chromium.org
6 years, 9 months ago (2014-03-28 21:07:16 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/213693002/60001
6 years, 9 months ago (2014-03-28 21:14:15 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-28 23:45:29 UTC) #10
commit-bot: I haz the power
Commit queue rejected this change because the description was changed between the time the change ...
6 years, 9 months ago (2014-03-28 23:45:29 UTC) #11
Nicolas Zea
6 years, 9 months ago (2014-03-28 23:56:19 UTC) #12
Message was sent while issue was closed.
Committed patchset #3 manually as r260308 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698