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

Issue 261853012: Componentize GCM Part 1: create GCM component and move some files over (Closed)

Created:
6 years, 7 months ago by jianli
Modified:
6 years, 7 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Fix #

Patch Set 3 : Remove os_crypt dependency from google_apis/gcm #

Total comments: 10

Patch Set 4 : Sync #

Total comments: 2

Patch Set 5 : Address feedback #

Patch Set 6 : Fix trybot #

Total comments: 4

Patch Set 7 : Address one more comment #

Patch Set 8 : Fix mcs_probe #

Patch Set 9 : Sync #

Patch Set 10 : SYnc #

Total comments: 2

Patch Set 11 : Update gyp #

Total comments: 6

Patch Set 12 : Sync #

Patch Set 13 : Patch #

Patch Set 14 : Sync #

Patch Set 15 : Fix mac trybots #

Patch Set 16 : Sync #

Patch Set 17 : Patch to land #

Patch Set 18 : Add proxy gcm_app_handler.h #

Patch Set 19 : Fix copyright comment #

Patch Set 20 : Sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+280 lines, -384 lines) Patch
M chrome/browser/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/api/gcm/gcm_apitest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_gcm_app_handler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_gcm_app_handler_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/invalidation/gcm_invalidation_bridge.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -1 line 0 comments Download
D chrome/browser/services/gcm/default_gcm_app_handler.h View 1 chunk +0 lines, -35 lines 0 comments Download
D chrome/browser/services/gcm/default_gcm_app_handler.cc View 1 chunk +0 lines, -39 lines 0 comments Download
M chrome/browser/services/gcm/fake_gcm_client_factory.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -1 line 0 comments Download
D chrome/browser/services/gcm/gcm_app_handler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +12 lines, -42 lines 0 comments Download
D chrome/browser/services/gcm/gcm_client_factory.h View 1 chunk +0 lines, -30 lines 0 comments Download
D chrome/browser/services/gcm/gcm_client_factory.cc View 1 chunk +0 lines, -22 lines 0 comments Download
M chrome/browser/services/gcm/gcm_client_mock.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/services/gcm/gcm_client_mock.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/services/gcm/gcm_profile_service_factory.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/services/gcm/gcm_profile_service_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/services/gcm/gcm_profile_service_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/services/gcm/gcm_service.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/services/gcm/gcm_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/services/gcm/gcm_service_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +1 line, -6 lines 0 comments Download
M components/OWNERS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +5 lines, -0 lines 0 comments Download
M components/components.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -0 lines 0 comments Download
A components/gcm_driver.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +29 lines, -0 lines 0 comments Download
A components/gcm_driver/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +4 lines, -0 lines 0 comments Download
A + components/gcm_driver/OWNERS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/gcm_driver/default_gcm_app_handler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +35 lines, -35 lines 0 comments Download
A + components/gcm_driver/default_gcm_app_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +2 lines, -2 lines 0 comments Download
A + components/gcm_driver/gcm_app_handler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +42 lines, -42 lines 0 comments Download
A + components/gcm_driver/gcm_client_factory.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +30 lines, -30 lines 0 comments Download
A + components/gcm_driver/gcm_client_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +2 lines, -2 lines 0 comments Download
A + components/gcm_driver/system_encryptor.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +27 lines, -27 lines 0 comments Download
A + components/gcm_driver/system_encryptor.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +4 lines, -4 lines 0 comments Download
M google_apis/gcm/DEPS View 1 2 1 chunk +0 lines, -1 line 0 comments Download
A + google_apis/gcm/base/encryptor.h View 1 2 2 chunks +8 lines, -8 lines 0 comments Download
A + google_apis/gcm/base/fake_encryptor.h View 1 2 2 chunks +7 lines, -7 lines 0 comments Download
A + google_apis/gcm/base/fake_encryptor.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M google_apis/gcm/engine/gcm_store_impl.h View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M google_apis/gcm/engine/gcm_store_impl.cc View 1 2 3 4 6 chunks +18 lines, -9 lines 0 comments Download
M google_apis/gcm/engine/gcm_store_impl_unittest.cc View 1 2 3 4 5 2 chunks +3 lines, -6 lines 0 comments Download
M google_apis/gcm/engine/mcs_client_unittest.cc View 1 2 3 4 5 2 chunks +5 lines, -7 lines 0 comments Download
M google_apis/gcm/gcm.gyp View 1 2 4 chunks +4 lines, -2 lines 0 comments Download
M google_apis/gcm/gcm_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +3 lines, -0 lines 0 comments Download
M google_apis/gcm/gcm_client_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -0 lines 0 comments Download
M google_apis/gcm/gcm_client_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +4 lines, -1 line 0 comments Download
M google_apis/gcm/gcm_client_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +2 lines, -9 lines 0 comments Download
M google_apis/gcm/tools/mcs_probe.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 35 (0 generated)
jianli
6 years, 7 months ago (2014-05-06 20:41:34 UTC) #1
blundell
Looks good overall, thanks! https://codereview.chromium.org/261853012/diff/40001/components/gcm.gypi File components/gcm.gypi (right): https://codereview.chromium.org/261853012/diff/40001/components/gcm.gypi#newcode13 components/gcm.gypi:13: '../net/net.gyp:net', This should depend on ...
6 years, 7 months ago (2014-05-07 09:19:02 UTC) #2
fgorski
LGTM, Nice idea to handle the Encryptor dependency. Is there a way to inject it ...
6 years, 7 months ago (2014-05-07 18:27:54 UTC) #3
jianli
https://codereview.chromium.org/261853012/diff/40001/components/gcm.gypi File components/gcm.gypi (right): https://codereview.chromium.org/261853012/diff/40001/components/gcm.gypi#newcode13 components/gcm.gypi:13: '../net/net.gyp:net', On 2014/05/07 09:19:02, blundell wrote: > This should ...
6 years, 7 months ago (2014-05-07 19:12:29 UTC) #4
Nicolas Zea
mostly LG https://codereview.chromium.org/261853012/diff/90001/chrome/chrome_browser.gypi File chrome/chrome_browser.gypi (right): https://codereview.chromium.org/261853012/diff/90001/chrome/chrome_browser.gypi#newcode39 chrome/chrome_browser.gypi:39: '../components/components.gyp:gcm', shouldn't we be calling this gcm_driver? ...
6 years, 7 months ago (2014-05-07 20:06:59 UTC) #5
jianli
https://codereview.chromium.org/261853012/diff/90001/chrome/chrome_browser.gypi File chrome/chrome_browser.gypi (right): https://codereview.chromium.org/261853012/diff/90001/chrome/chrome_browser.gypi#newcode39 chrome/chrome_browser.gypi:39: '../components/components.gyp:gcm', On 2014/05/07 20:07:00, Nicolas Zea wrote: > shouldn't ...
6 years, 7 months ago (2014-05-07 20:12:15 UTC) #6
jianli
zea and blundell, could you please take another look? thanks.
6 years, 7 months ago (2014-05-08 21:06:11 UTC) #7
Nicolas Zea
https://codereview.chromium.org/261853012/diff/170001/components/components.gyp File components/components.gyp (right): https://codereview.chromium.org/261853012/diff/170001/components/components.gyp#newcode25 components/components.gyp:25: 'gcm.gypi', This should probably be within the android_webview_build == ...
6 years, 7 months ago (2014-05-08 21:21:49 UTC) #8
jianli
https://codereview.chromium.org/261853012/diff/170001/components/components.gyp File components/components.gyp (right): https://codereview.chromium.org/261853012/diff/170001/components/components.gyp#newcode25 components/components.gyp:25: 'gcm.gypi', On 2014/05/08 21:21:49, Nicolas Zea wrote: > This ...
6 years, 7 months ago (2014-05-08 23:08:00 UTC) #9
tfarina
https://codereview.chromium.org/261853012/diff/190001/components/gcm.gypi File components/gcm.gypi (right): https://codereview.chromium.org/261853012/diff/190001/components/gcm.gypi#newcode11 components/gcm.gypi:11: 'components.gyp:os_crypt', move this below net, also, just os_crypt, no ...
6 years, 7 months ago (2014-05-09 03:49:13 UTC) #10
blundell
LGTM I'm OK with gcm instead of gcm_driver as the component name. (Aside: I think ...
6 years, 7 months ago (2014-05-09 08:23:35 UTC) #11
Nicolas Zea
lgtm https://codereview.chromium.org/261853012/diff/190001/components/components.gyp File components/components.gyp (right): https://codereview.chromium.org/261853012/diff/190001/components/components.gyp#newcode71 components/components.gyp:71: # it once we remove the depdency on ...
6 years, 7 months ago (2014-05-09 17:55:13 UTC) #12
jianli
https://codereview.chromium.org/261853012/diff/190001/components/components.gyp File components/components.gyp (right): https://codereview.chromium.org/261853012/diff/190001/components/components.gyp#newcode71 components/components.gyp:71: # it once we remove the depdency on google_apis/gcm ...
6 years, 7 months ago (2014-05-09 21:29:37 UTC) #13
jianli
yoz, could you please review and approve changes to chrome/browser/extensions? pavely, could you please review ...
6 years, 7 months ago (2014-05-09 21:33:38 UTC) #14
jianli
Kalman, could you please approve chrome/browser/extension changes? Thanks.
6 years, 7 months ago (2014-05-12 18:35:00 UTC) #15
not at google - send to devlin
lgtm but just tbr include changes
6 years, 7 months ago (2014-05-12 18:36:31 UTC) #16
pavely
LGTM c/b/invalidation
6 years, 7 months ago (2014-05-12 18:43:07 UTC) #17
jianli
jhawkins, could you please approve chrome/browser/DEPS? thanks.
6 years, 7 months ago (2014-05-12 18:56:29 UTC) #18
blundell
You can TBR jam or darin for the DEPS change.
6 years, 7 months ago (2014-05-12 19:07:18 UTC) #19
jianli
Ok. Thanks. On Mon, May 12, 2014 at 12:07 PM, <blundell@chromium.org> wrote: > You can ...
6 years, 7 months ago (2014-05-12 19:11:31 UTC) #20
James Hawkins
deps lgtm
6 years, 7 months ago (2014-05-12 19:35:35 UTC) #21
jianli
The CQ bit was checked by jianli@chromium.org
6 years, 7 months ago (2014-05-13 19:25:59 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jianli@chromium.org/261853012/340001
6 years, 7 months ago (2014-05-13 19:27:35 UTC) #23
commit-bot: I haz the power
Change committed as 270226
6 years, 7 months ago (2014-05-13 22:25:27 UTC) #24
jianli
The CQ bit was checked by jianli@chromium.org
6 years, 7 months ago (2014-05-14 00:55:52 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/261853012/360001
6 years, 7 months ago (2014-05-14 00:56:29 UTC) #26
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-14 05:51:54 UTC) #27
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-14 05:55:46 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: android_aosp on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_aosp/builds/74259)
6 years, 7 months ago (2014-05-14 05:55:46 UTC) #29
jianli
The CQ bit was checked by jianli@chromium.org
6 years, 7 months ago (2014-05-14 07:21:41 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jianli@chromium.org/261853012/360001
6 years, 7 months ago (2014-05-14 07:22:18 UTC) #31
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-14 07:26:59 UTC) #32
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-14 07:31:01 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: android_aosp on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_aosp/builds/74278)
6 years, 7 months ago (2014-05-14 07:31:02 UTC) #34
jianli
6 years, 7 months ago (2014-05-14 20:48:09 UTC) #35
Message was sent while issue was closed.
Committed patchset #20 manually as r270470 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698