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

Issue 1124783002: [GCM] Wiring heartbeat interval calls to GCMDriver (Closed)

Created:
5 years, 7 months ago by fgorski
Modified:
5 years, 7 months ago
Reviewers:
Nicolas Zea
CC:
chromium-reviews, zea+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@store-heartbeat-gcm
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[GCM] Wiring heartbeat interval calls to GCMDriver Wires the call to Add/RemoveHeartbeatInterval through: * GCMDriver/Desktop/Android/Fake * GCMDriverDesktop::IOWorker * GCMClient/Impl to MCSClient * Adding loading of persisted interval in MCSClient BUG=481174 Committed: https://crrev.com/2275446a45e50b79540953969bd98f0fb3fb49b6 Cr-Commit-Position: refs/heads/master@{#329750}

Patch Set 1 #

Patch Set 2 : Adding MCS client tests for storing heartbeat interval #

Total comments: 10

Patch Set 3 : Addressing CR comments from zea, redoing tests, adding LoadResult::Reset update #

Patch Set 4 : Rebasing #

Total comments: 12

Patch Set 5 : Addressing final feedback and fixing formatting #

Unified diffs Side-by-side diffs Delta from patch set Stats (+400 lines, -73 lines) Patch
M components/gcm_driver/fake_gcm_client.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M components/gcm_driver/fake_gcm_client.cc View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M components/gcm_driver/fake_gcm_driver.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M components/gcm_driver/fake_gcm_driver.cc View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M components/gcm_driver/gcm_client.h View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
M components/gcm_driver/gcm_client_impl.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M components/gcm_driver/gcm_client_impl.cc View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M components/gcm_driver/gcm_driver.h View 1 2 3 4 1 chunk +22 lines, -0 lines 0 comments Download
M components/gcm_driver/gcm_driver_android.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M components/gcm_driver/gcm_driver_android.cc View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M components/gcm_driver/gcm_driver_desktop.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M components/gcm_driver/gcm_driver_desktop.cc View 1 2 3 4 3 chunks +57 lines, -0 lines 0 comments Download
M google_apis/gcm/engine/gcm_store.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M google_apis/gcm/engine/mcs_client.h View 1 2 3 4 2 chunks +5 lines, -4 lines 0 comments Download
M google_apis/gcm/engine/mcs_client.cc View 1 2 3 4 2 chunks +16 lines, -4 lines 0 comments Download
M google_apis/gcm/engine/mcs_client_unittest.cc View 1 2 3 4 4 chunks +249 lines, -65 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
fgorski
PTAL. I've added one test focused on storing and restoring the heartbeats. Other than that ...
5 years, 7 months ago (2015-05-06 17:53:40 UTC) #2
Nicolas Zea
https://codereview.chromium.org/1124783002/diff/20001/components/gcm_driver/gcm_client.h File components/gcm_driver/gcm_client.h (right): https://codereview.chromium.org/1124783002/diff/20001/components/gcm_driver/gcm_client.h#newcode313 components/gcm_driver/gcm_client.h:313: // Gets and sets custom heartbeat interval for the ...
5 years, 7 months ago (2015-05-07 18:13:52 UTC) #3
fgorski
Addressed. PTAL https://codereview.chromium.org/1124783002/diff/20001/components/gcm_driver/gcm_client.h File components/gcm_driver/gcm_client.h (right): https://codereview.chromium.org/1124783002/diff/20001/components/gcm_driver/gcm_client.h#newcode313 components/gcm_driver/gcm_client.h:313: // Gets and sets custom heartbeat interval ...
5 years, 7 months ago (2015-05-10 06:44:34 UTC) #4
Nicolas Zea
LGTM with some nits https://codereview.chromium.org/1124783002/diff/60001/components/gcm_driver/gcm_client.h File components/gcm_driver/gcm_client.h (right): https://codereview.chromium.org/1124783002/diff/60001/components/gcm_driver/gcm_client.h#newcode325 components/gcm_driver/gcm_client.h:325: // |scope| is used to ...
5 years, 7 months ago (2015-05-13 17:57:37 UTC) #5
fgorski
Addressed. Thanks for review. https://codereview.chromium.org/1124783002/diff/60001/components/gcm_driver/gcm_client.h File components/gcm_driver/gcm_client.h (right): https://codereview.chromium.org/1124783002/diff/60001/components/gcm_driver/gcm_client.h#newcode325 components/gcm_driver/gcm_client.h:325: // |scope| is used to ...
5 years, 7 months ago (2015-05-13 18:59:16 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1124783002/80001
5 years, 7 months ago (2015-05-13 21:54:44 UTC) #9
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 7 months ago (2015-05-14 00:05:28 UTC) #10
commit-bot: I haz the power
5 years, 7 months ago (2015-05-14 00:06:52 UTC) #11
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/2275446a45e50b79540953969bd98f0fb3fb49b6
Cr-Commit-Position: refs/heads/master@{#329750}

Powered by Google App Engine
This is Rietveld 408576698