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

Issue 530253002: Add GCMChannelStatusRequest to talk with server for all users (Closed)

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

Description

Add GCMChannelStatusRequest to talk with server for all users This is to support querying GCM channel status for all users. This is needed to drop the sign-in enforcement. BUG=384041 TEST=new tests added Committed: https://crrev.com/1235e51cc9427558d07f12acd80b6fa96b312748 Cr-Commit-Position: refs/heads/master@{#293764}

Patch Set 1 #

Patch Set 2 : Fix trybots #

Patch Set 3 : Fix android build #

Total comments: 16

Patch Set 4 : Address comments #

Patch Set 5 : Sync #

Total comments: 24

Patch Set 6 : Address more feedback #

Patch Set 7 : Fix build #

Patch Set 8 : Remove client & client_id #

Patch Set 9 : Fix gn build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+545 lines, -37 lines) Patch
M components/components_tests.gyp View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M components/gcm_driver.gypi View 1 2 3 4 4 chunks +13 lines, -0 lines 0 comments Download
M components/gcm_driver/BUILD.gn View 1 2 3 4 5 6 7 8 4 chunks +11 lines, -1 line 0 comments Download
A components/gcm_driver/gcm_backoff_policy.h View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download
A components/gcm_driver/gcm_backoff_policy.cc View 1 1 chunk +46 lines, -0 lines 0 comments Download
A components/gcm_driver/gcm_channel_status_request.h View 1 2 3 4 5 6 7 1 chunk +61 lines, -0 lines 0 comments Download
A components/gcm_driver/gcm_channel_status_request.cc View 1 2 3 4 5 6 7 1 chunk +146 lines, -0 lines 0 comments Download
A components/gcm_driver/gcm_channel_status_request_unittest.cc View 1 2 3 4 5 6 7 1 chunk +199 lines, -0 lines 0 comments Download
M components/gcm_driver/gcm_client_impl.cc View 6 chunks +5 lines, -36 lines 0 comments Download
A components/gcm_driver/proto/BUILD.gn View 1 1 chunk +11 lines, -0 lines 0 comments Download
A components/gcm_driver/proto/gcm_channel_status.proto View 1 1 chunk +34 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (13 generated)
jianli
6 years, 3 months ago (2014-09-02 23:27:47 UTC) #2
fgorski
General comment: please consider which of the files can be moved to google_Apis/gcm https://codereview.chromium.org/530253002/diff/160001/components/gcm_driver/gcm_backoff_policy.h File ...
6 years, 3 months ago (2014-09-03 20:42:16 UTC) #10
jianli
Per offline discussions, we still want to keep new files under components/gcm_driver. https://codereview.chromium.org/530253002/diff/160001/components/gcm_driver/gcm_backoff_policy.h File components/gcm_driver/gcm_backoff_policy.h ...
6 years, 3 months ago (2014-09-03 21:17:55 UTC) #11
fgorski
lgtm
6 years, 3 months ago (2014-09-03 22:38:58 UTC) #12
Nicolas Zea
https://codereview.chromium.org/530253002/diff/200001/components/gcm_driver/gcm_channel_status_request.cc File components/gcm_driver/gcm_channel_status_request.cc (right): https://codereview.chromium.org/530253002/diff/200001/components/gcm_driver/gcm_channel_status_request.cc#newcode28 components/gcm_driver/gcm_channel_status_request.cc:28: const base::TimeDelta kDefaultPollInterval = base::TimeDelta::FromMinutes(60); const values should be ...
6 years, 3 months ago (2014-09-04 23:57:51 UTC) #13
Nicolas Zea
https://codereview.chromium.org/530253002/diff/200001/components/gcm_driver/gcm_channel_status_request.cc File components/gcm_driver/gcm_channel_status_request.cc (right): https://codereview.chromium.org/530253002/diff/200001/components/gcm_driver/gcm_channel_status_request.cc#newcode28 components/gcm_driver/gcm_channel_status_request.cc:28: const base::TimeDelta kDefaultPollInterval = base::TimeDelta::FromMinutes(60); On 2014/09/04 23:57:50, Nicolas ...
6 years, 3 months ago (2014-09-04 23:58:13 UTC) #14
jianli
https://codereview.chromium.org/530253002/diff/200001/components/gcm_driver/gcm_channel_status_request.cc File components/gcm_driver/gcm_channel_status_request.cc (right): https://codereview.chromium.org/530253002/diff/200001/components/gcm_driver/gcm_channel_status_request.cc#newcode28 components/gcm_driver/gcm_channel_status_request.cc:28: const base::TimeDelta kDefaultPollInterval = base::TimeDelta::FromMinutes(60); On 2014/09/04 23:57:50, Nicolas ...
6 years, 3 months ago (2014-09-05 18:41:56 UTC) #15
Nicolas Zea
https://codereview.chromium.org/530253002/diff/200001/components/gcm_driver/gcm_channel_status_request.cc File components/gcm_driver/gcm_channel_status_request.cc (right): https://codereview.chromium.org/530253002/diff/200001/components/gcm_driver/gcm_channel_status_request.cc#newcode32 components/gcm_driver/gcm_channel_status_request.cc:32: const char kClientName[] = "Google Chrome"; On 2014/09/05 18:41:55, ...
6 years, 3 months ago (2014-09-05 18:53:03 UTC) #16
jianli
https://codereview.chromium.org/530253002/diff/200001/components/gcm_driver/gcm_channel_status_request.cc File components/gcm_driver/gcm_channel_status_request.cc (right): https://codereview.chromium.org/530253002/diff/200001/components/gcm_driver/gcm_channel_status_request.cc#newcode32 components/gcm_driver/gcm_channel_status_request.cc:32: const char kClientName[] = "Google Chrome"; On 2014/09/05 18:53:03, ...
6 years, 3 months ago (2014-09-05 21:26:17 UTC) #17
Nicolas Zea
lgtm
6 years, 3 months ago (2014-09-05 21:49:19 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jianli@chromium.org/530253002/260001
6 years, 3 months ago (2014-09-05 21:51:39 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jianli@chromium.org/530253002/280001
6 years, 3 months ago (2014-09-05 22:06:25 UTC) #23
commit-bot: I haz the power
Exceeded time limit waiting for builds to trigger.
6 years, 3 months ago (2014-09-06 00:28:58 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jianli@chromium.org/530253002/280001
6 years, 3 months ago (2014-09-08 17:19:19 UTC) #27
commit-bot: I haz the power
Committed patchset #9 (id:280001) as 6d5f9f281a9f2a3dd3e6113e50dbbb86b0019b56
6 years, 3 months ago (2014-09-08 19:08:42 UTC) #28
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:47:30 UTC) #29
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/1235e51cc9427558d07f12acd80b6fa96b312748
Cr-Commit-Position: refs/heads/master@{#293764}

Powered by Google App Engine
This is Rietveld 408576698