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

Issue 1183843002: Do not create GCM store if it is not needed (Closed)

Created:
5 years, 6 months ago by jianli
Modified:
5 years, 6 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org, zea+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Do not create GCM store if it is not needed BUG=499006 TEST=new tests Committed: https://crrev.com/9f9a73672ab60c3da17bd4ff2660ce3a113cd8fa Cr-Commit-Position: refs/heads/master@{#334661}

Patch Set 1 : Patch #

Patch Set 2 : Fix trybots #

Total comments: 6

Patch Set 3 : Address feedback + fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+223 lines, -156 lines) Patch
M components/gcm_driver/gcm_client_impl.cc View 1 2 2 chunks +17 lines, -3 lines 0 comments Download
M components/gcm_driver/gcm_client_impl_unittest.cc View 1 2 11 chunks +83 lines, -12 lines 0 comments Download
M google_apis/gcm/engine/gcm_store.h View 1 2 3 chunks +7 lines, -1 line 0 comments Download
M google_apis/gcm/engine/gcm_store.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M google_apis/gcm/engine/gcm_store_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M google_apis/gcm/engine/gcm_store_impl.cc View 1 2 6 chunks +19 lines, -7 lines 0 comments Download
M google_apis/gcm/engine/gcm_store_impl_unittest.cc View 1 2 37 chunks +90 lines, -130 lines 0 comments Download
M google_apis/gcm/engine/mcs_client_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M google_apis/gcm/tools/mcs_probe.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
jianli
5 years, 6 months ago (2015-06-12 23:08:57 UTC) #2
Nicolas Zea
LGTM with some nits. https://codereview.chromium.org/1183843002/diff/40001/components/gcm_driver/gcm_client_impl.cc File components/gcm_driver/gcm_client_impl.cc (right): https://codereview.chromium.org/1183843002/diff/40001/components/gcm_driver/gcm_client_impl.cc#newcode380 components/gcm_driver/gcm_client_impl.cc:380: // In the case that ...
5 years, 6 months ago (2015-06-15 17:58:37 UTC) #4
Nicolas Zea
FYI looks like there's a broken test
5 years, 6 months ago (2015-06-15 18:05:00 UTC) #5
fgorski
lgtm
5 years, 6 months ago (2015-06-15 18:30:49 UTC) #6
jianli
https://codereview.chromium.org/1183843002/diff/40001/components/gcm_driver/gcm_client_impl.cc File components/gcm_driver/gcm_client_impl.cc (right): https://codereview.chromium.org/1183843002/diff/40001/components/gcm_driver/gcm_client_impl.cc#newcode380 components/gcm_driver/gcm_client_impl.cc:380: // In the case that the store does not ...
5 years, 6 months ago (2015-06-15 20:50:23 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1183843002/50001
5 years, 6 months ago (2015-06-15 22:12:19 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/71040)
5 years, 6 months ago (2015-06-15 22:23:49 UTC) #12
jianli
could you please review simple change to histograms.xml? thanks.
5 years, 6 months ago (2015-06-15 22:27:35 UTC) #14
Alexei Svitkine (slow)
lgtm
5 years, 6 months ago (2015-06-16 15:27:08 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1183843002/50001
5 years, 6 months ago (2015-06-16 19:32:20 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:50001)
5 years, 6 months ago (2015-06-16 19:39:42 UTC) #18
commit-bot: I haz the power
5 years, 6 months ago (2015-06-16 19:40:44 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/9f9a73672ab60c3da17bd4ff2660ce3a113cd8fa
Cr-Commit-Position: refs/heads/master@{#334661}

Powered by Google App Engine
This is Rietveld 408576698