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

Issue 255273002: First step towards invalidations componentization (Closed)

Created:
6 years, 7 months ago by rlarocque
Modified:
6 years, 7 months ago
CC:
chromium-reviews, tim+watch_chromium.org, chromium-apps-reviews_chromium.org, maniscalco+watch_chromium.org, haitaol+watch_chromium.org, extensions-reviews_chromium.org
Visibility:
Public.

Description

First step towards invalidations componentization Moves some files from chrome/browser/invalidation to components/invalidation. The files moved in this CL are those that do not have dependencies on chrome/, so they can be moved without significant refactoring. This refactoring touches a lot of files, but none of the changes are meaningful. Most of it inovlves changing #include paths, updating DEPS, changing header guards, and other trivial changes. One part of this change that is significant is that it creates two new static libraries and moves some of the symbols formerly defined in chrome/browser/invalidation into those libraries. There is some risk of linker errors if this was done wrong. TBR=bartfab,blundell BUG=336571 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269462

Patch Set 1 #

Total comments: 3

Patch Set 2 : Undo move of InvalidationServiceTestTemplate #

Total comments: 2

Patch Set 3 : Remove drive's DEPS rule for invalidation_service.h #

Patch Set 4 : rebase #

Total comments: 8

Patch Set 5 : More review fixes #

Patch Set 6 : Rebase #

Patch Set 7 : Fix typo #

Patch Set 8 : Rebase + fix #

Patch Set 9 : Rebase #

Patch Set 10 : Attempt to fix Android AOSP #

Patch Set 11 : Rebase to fix merge conflict #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -809 lines) Patch
M chrome/browser/drive/DEPS View 1 2 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/drive/drive_notification_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/push_messaging/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/api/push_messaging/push_messaging_api.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/push_messaging/push_messaging_apitest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/invalidation/DEPS View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/invalidation/fake_invalidation_service.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/invalidation/gcm_invalidation_bridge.cc View 1 chunk +0 lines, -1 line 0 comments Download
D chrome/browser/invalidation/invalidation_logger.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -101 lines 0 comments Download
D chrome/browser/invalidation/invalidation_logger.cc View 1 chunk +0 lines, -122 lines 0 comments Download
D chrome/browser/invalidation/invalidation_logger_observer.h View 1 chunk +0 lines, -46 lines 0 comments Download
D chrome/browser/invalidation/invalidation_logger_unittest.cc View 1 chunk +0 lines, -286 lines 0 comments Download
D chrome/browser/invalidation/invalidation_service.h View 1 chunk +0 lines, -122 lines 0 comments Download
M chrome/browser/invalidation/invalidation_service_android.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/invalidation/invalidation_service_factory.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/invalidation/invalidation_service_factory_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
D chrome/browser/invalidation/invalidation_service_test_template.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/invalidation/p2p_invalidation_service.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/invalidation/ticl_invalidation_service.h View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/invalidation/ticl_profile_settings_provider.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/invalidation/ticl_profile_settings_provider_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
D chrome/browser/invalidation/ticl_settings_provider.h View 1 chunk +0 lines, -44 lines 0 comments Download
D chrome/browser/invalidation/ticl_settings_provider.cc View 1 chunk +0 lines, -30 lines 0 comments Download
M chrome/browser/policy/cloud/DEPS View 1 2 3 4 5 2 chunks +1 line, -5 lines 0 comments Download
M chrome/browser/policy/cloud/cloud_policy_invalidator.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/DEPS View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/sync/glue/sync_backend_host_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/test/integration/fake_server_invalidation_service.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/DEPS View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/invalidations_message_handler.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/invalidations_message_handler.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 4 chunks +3 lines, -7 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -1 line 0 comments Download
M components/components.gyp View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -1 line 0 comments Download
M components/components_tests.gyp View 1 2 3 4 5 6 7 8 9 10 3 chunks +5 lines, -0 lines 0 comments Download
A components/invalidation.gypi View 1 2 3 4 5 6 1 chunk +29 lines, -0 lines 0 comments Download
A components/invalidation/DEPS View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download
A + components/invalidation/OWNERS View 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/invalidation/invalidation_logger.h View 1 2 3 4 5 6 7 2 chunks +3 lines, -3 lines 0 comments Download
A + components/invalidation/invalidation_logger.cc View 1 chunk +2 lines, -2 lines 0 comments Download
A + components/invalidation/invalidation_logger_observer.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + components/invalidation/invalidation_logger_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
A + components/invalidation/invalidation_service.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + components/invalidation/ticl_settings_provider.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + components/invalidation/ticl_settings_provider.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 58 (0 generated)
rlarocque
This is the first change associated with the document I published recently. Please take a ...
6 years, 7 months ago (2014-04-29 20:19:18 UTC) #1
pavely
lgtm
6 years, 7 months ago (2014-04-30 16:59:39 UTC) #2
rlarocque
Hi everyone, This CL contains a bunch of renames. There should be no significant changes ...
6 years, 7 months ago (2014-04-30 17:37:38 UTC) #3
dcheng
c/b/e/a/push_messaging/* rslgtm
6 years, 7 months ago (2014-04-30 17:44:42 UTC) #4
arv (Not doing code reviews)
chrome/browser/ui/webui/ LGTM
6 years, 7 months ago (2014-04-30 18:21:04 UTC) #5
rlarocque
+zea for review of components/, since the components OWNERs aren't available right now. If Nicolas ...
6 years, 7 months ago (2014-05-01 20:13:57 UTC) #6
Nicolas Zea
https://codereview.chromium.org/255273002/diff/1/components/invalidation/DEPS File components/invalidation/DEPS (right): https://codereview.chromium.org/255273002/diff/1/components/invalidation/DEPS#newcode4 components/invalidation/DEPS:4: "+content/public/test", hmm, I was under the impression nothing in ...
6 years, 7 months ago (2014-05-01 20:25:53 UTC) #7
rlarocque
https://codereview.chromium.org/255273002/diff/1/components/invalidation/DEPS File components/invalidation/DEPS (right): https://codereview.chromium.org/255273002/diff/1/components/invalidation/DEPS#newcode4 components/invalidation/DEPS:4: "+content/public/test", On 2014/05/01 20:25:54, Nicolas Zea wrote: > hmm, ...
6 years, 7 months ago (2014-05-01 20:45:20 UTC) #8
Nicolas Zea
Ah, looks like it's okay to depend on the public part of the content api, ...
6 years, 7 months ago (2014-05-01 20:57:25 UTC) #9
blundell
https://codereview.chromium.org/255273002/diff/1/components/invalidation/DEPS File components/invalidation/DEPS (right): https://codereview.chromium.org/255273002/diff/1/components/invalidation/DEPS#newcode4 components/invalidation/DEPS:4: "+content/public/test", Code that is shared by iOS cannot depend ...
6 years, 7 months ago (2014-05-01 20:57:59 UTC) #10
blundell
To be more explicit, this DEPS inclusion is wrong, as the invalidation component is built ...
6 years, 7 months ago (2014-05-01 20:58:36 UTC) #11
rlarocque
On 2014/05/01 20:58:36, blundell wrote: > To be more explicit, this DEPS inclusion is wrong, ...
6 years, 7 months ago (2014-05-01 22:11:53 UTC) #12
satorux1
chrome/browser/drive/ LGTM with a nit: https://codereview.chromium.org/255273002/diff/20001/chrome/browser/drive/DEPS File chrome/browser/drive/DEPS (right): https://codereview.chromium.org/255273002/diff/20001/chrome/browser/drive/DEPS#newcode20 chrome/browser/drive/DEPS:20: "!chrome/browser/invalidation/invalidation_service.h", maybe we can ...
6 years, 7 months ago (2014-05-01 22:24:16 UTC) #13
rlarocque
https://codereview.chromium.org/255273002/diff/20001/chrome/browser/drive/DEPS File chrome/browser/drive/DEPS (right): https://codereview.chromium.org/255273002/diff/20001/chrome/browser/drive/DEPS#newcode20 chrome/browser/drive/DEPS:20: "!chrome/browser/invalidation/invalidation_service.h", On 2014/05/01 22:24:16, satorux1 wrote: > maybe we ...
6 years, 7 months ago (2014-05-01 22:56:29 UTC) #14
rlarocque
Added TBRs for bartfab and blundell. I think this commit is good to go.
6 years, 7 months ago (2014-05-02 17:26:00 UTC) #15
rlarocque
The CQ bit was checked by rlarocque@chromium.org
6 years, 7 months ago (2014-05-02 17:26:06 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlarocque@chromium.org/255273002/40001
6 years, 7 months ago (2014-05-02 17:27:56 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-02 17:28:23 UTC) #18
commit-bot: I haz the power
Failed to apply patch for chrome/chrome_browser.gypi: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 7 months ago (2014-05-02 17:28:24 UTC) #19
rlarocque
The CQ bit was checked by rlarocque@chromium.org
6 years, 7 months ago (2014-05-02 17:52:43 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlarocque@chromium.org/255273002/60001
6 years, 7 months ago (2014-05-02 17:54:25 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-02 18:13:06 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel on tryserver.chromium
6 years, 7 months ago (2014-05-02 18:13:07 UTC) #23
blundell
//components LGTM with some fixes to make in a followup. Thanks! https://codereview.chromium.org/255273002/diff/60001/components/components_tests.gyp File components/components_tests.gyp (right): ...
6 years, 7 months ago (2014-05-05 08:48:41 UTC) #24
blundell
Oops, didn't notice that this CL hadn't landed yet. Even better - you can make ...
6 years, 7 months ago (2014-05-05 08:57:22 UTC) #25
bartfab (slow)
On 2014/05/01 22:11:53, rlarocque wrote: > On 2014/05/01 20:58:36, blundell wrote: > > To be ...
6 years, 7 months ago (2014-05-05 12:07:08 UTC) #26
bartfab (slow)
chrome/browser/policy lgtm with nit https://codereview.chromium.org/255273002/diff/60001/chrome/browser/policy/cloud/DEPS File chrome/browser/policy/cloud/DEPS (right): https://codereview.chromium.org/255273002/diff/60001/chrome/browser/policy/cloud/DEPS#newcode52 chrome/browser/policy/cloud/DEPS:52: "+components/invalidation" Nit: Move this to ...
6 years, 7 months ago (2014-05-05 12:11:38 UTC) #27
rlarocque
Thanks for the reviews. I'll try again to get this landed today. https://codereview.chromium.org/255273002/diff/60001/chrome/browser/policy/cloud/DEPS File chrome/browser/policy/cloud/DEPS ...
6 years, 7 months ago (2014-05-05 17:39:10 UTC) #28
rlarocque
The CQ bit was checked by rlarocque@chromium.org
6 years, 7 months ago (2014-05-05 17:40:38 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlarocque@chromium.org/255273002/100001
6 years, 7 months ago (2014-05-05 17:41:18 UTC) #30
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-05 19:43:31 UTC) #31
rlarocque
The CQ bit was checked by rlarocque@chromium.org
6 years, 7 months ago (2014-05-05 19:55:48 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlarocque@chromium.org/255273002/120001
6 years, 7 months ago (2014-05-05 19:57:23 UTC) #33
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-05 23:03:42 UTC) #34
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #2). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-05 23:36:23 UTC) #35
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-05 23:53:11 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel on tryserver.chromium
6 years, 7 months ago (2014-05-05 23:53:12 UTC) #37
rlarocque
The CQ bit was checked by rlarocque@chromium.org
6 years, 7 months ago (2014-05-06 17:31:43 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlarocque@chromium.org/255273002/140001
6 years, 7 months ago (2014-05-06 17:32:30 UTC) #39
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-06 23:22:04 UTC) #40
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #2). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-07 05:24:44 UTC) #41
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-07 06:00:14 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: android_aosp on tryserver.chromium
6 years, 7 months ago (2014-05-07 06:00:15 UTC) #43
rlarocque
The CQ bit was checked by rlarocque@chromium.org
6 years, 7 months ago (2014-05-07 17:23:50 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlarocque@chromium.org/255273002/160001
6 years, 7 months ago (2014-05-07 17:26:30 UTC) #45
rlarocque
The CQ bit was checked by rlarocque@chromium.org
6 years, 7 months ago (2014-05-08 01:20:20 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlarocque@chromium.org/255273002/180001
6 years, 7 months ago (2014-05-08 01:22:29 UTC) #47
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-08 18:52:39 UTC) #48
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-08 23:26:14 UTC) #49
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_rel/builds/13756)
6 years, 7 months ago (2014-05-08 23:26:15 UTC) #50
rlarocque
The CQ bit was checked by rlarocque@chromium.org
6 years, 7 months ago (2014-05-08 23:28:29 UTC) #51
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlarocque@chromium.org/255273002/180001
6 years, 7 months ago (2014-05-08 23:35:04 UTC) #52
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-09 04:54:03 UTC) #53
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-09 05:14:56 UTC) #54
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_rel/builds/14126)
6 years, 7 months ago (2014-05-09 05:14:57 UTC) #55
rlarocque
The CQ bit was checked by rlarocque@chromium.org
6 years, 7 months ago (2014-05-09 20:12:21 UTC) #56
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlarocque@chromium.org/255273002/200001
6 years, 7 months ago (2014-05-09 20:13:18 UTC) #57
commit-bot: I haz the power
6 years, 7 months ago (2014-05-09 23:17:58 UTC) #58
Message was sent while issue was closed.
Change committed as 269462

Powered by Google App Engine
This is Rietveld 408576698