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

Issue 2795883002: Eliminate OnConnect usage (Closed)

Created:
3 years, 8 months ago by Ben Goodger (Google)
Modified:
3 years, 8 months ago
Reviewers:
sky
CC:
chromium-reviews, rjkroege, sadrul, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, posciak+watch_chromium.org, chfremer+watch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin-cc_chromium.org, tfarina, kalyank, darin (slow to review)
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace all OnConnect implementations with OnBindInterface & (mostly) BinderRegistry. R=sky@chromium.org CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.mac:mac_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2795883002 Cr-Commit-Position: refs/heads/master@{#463028} Committed: https://chromium.googlesource.com/chromium/src/+/58ef184b0900151141583dd277c2be48528235f7

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : . #

Patch Set 7 : . #

Patch Set 8 : . #

Patch Set 9 : . #

Patch Set 10 : . #

Patch Set 11 : . #

Patch Set 12 : . #

Patch Set 13 : . #

Patch Set 14 : . #

Patch Set 15 : . #

Patch Set 16 : . #

Patch Set 17 : . #

Patch Set 18 : . #

Patch Set 19 : . #

Total comments: 4

Patch Set 20 : . #

Patch Set 21 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+540 lines, -420 lines) Patch
M ash/autoclick/mus/autoclick_application.h View 3 chunks +5 lines, -3 lines 0 comments Download
M ash/autoclick/mus/autoclick_application.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +9 lines, -6 lines 0 comments Download
M ash/common/mojo_interface_factory.h View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/common/mojo_interface_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +2 lines, -2 lines 0 comments Download
M ash/mus/window_manager_application.h View 3 chunks +6 lines, -2 lines 0 comments Download
M ash/mus/window_manager_application.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +9 lines, -7 lines 0 comments Download
M ash/touch_hud/mus/touch_hud_application.h View 1 2 3 4 5 6 7 3 chunks +5 lines, -2 lines 0 comments Download
M ash/touch_hud/mus/touch_hud_application.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +9 lines, -7 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/prefs/active_profile_pref_service.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/prefs/active_profile_pref_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +15 lines, -12 lines 0 comments Download
M chrome/browser/ui/ash/ash_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +6 lines, -5 lines 0 comments Download
M components/filesystem/file_system_app.h View 3 chunks +6 lines, -2 lines 0 comments Download
M components/filesystem/file_system_app.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +9 lines, -5 lines 0 comments Download
M components/font_service/font_service_app.h View 3 chunks +5 lines, -2 lines 0 comments Download
M components/font_service/font_service_app.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +9 lines, -6 lines 0 comments Download
M components/leveldb/leveldb_app.h View 3 chunks +5 lines, -2 lines 0 comments Download
M components/leveldb/leveldb_app.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +9 lines, -6 lines 0 comments Download
M components/nacl/common/nacl_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +19 lines, -16 lines 0 comments Download
M content/browser/dom_storage/local_storage_context_mojo_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +9 lines, -5 lines 0 comments Download
M content/public/test/test_service.h View 3 chunks +5 lines, -2 lines 0 comments Download
M content/public/test/test_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +8 lines, -6 lines 0 comments Download
M mash/package/mash_packaged_service.h View 3 chunks +5 lines, -2 lines 0 comments Download
M mash/package/mash_packaged_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +9 lines, -7 lines 0 comments Download
M media/mojo/services/media_service.h View 1 2 3 4 5 6 7 3 chunks +5 lines, -2 lines 0 comments Download
M media/mojo/services/media_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +7 lines, -5 lines 0 comments Download
M mojo/public/cpp/bindings/tests/versioning_test_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +12 lines, -4 lines 0 comments Download
M services/catalog/catalog.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +12 lines, -8 lines 0 comments Download
M services/data_decoder/data_decoder_service.h View 2 chunks +5 lines, -2 lines 0 comments Download
M services/data_decoder/data_decoder_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +8 lines, -18 lines 0 comments Download
M services/device/device_service.h View 3 chunks +6 lines, -2 lines 0 comments Download
M services/device/device_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +21 lines, -18 lines 0 comments Download
M services/file/file_service.h View 3 chunks +6 lines, -2 lines 0 comments Download
M services/file/file_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +10 lines, -7 lines 0 comments Download
M services/identity/identity_service.h View 3 chunks +6 lines, -2 lines 0 comments Download
M services/identity/identity_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +9 lines, -6 lines 0 comments Download
M services/navigation/navigation.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +12 lines, -7 lines 0 comments Download
M services/navigation/navigation.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +12 lines, -11 lines 0 comments Download
M services/preferences/pref_service_factory_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +10 lines, -6 lines 0 comments Download
M services/preferences/pref_store_manager_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +6 lines, -2 lines 0 comments Download
M services/preferences/pref_store_manager_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +10 lines, -8 lines 0 comments Download
M services/service_manager/service_manager.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M services/service_manager/service_manager.cc View 1 4 chunks +15 lines, -18 lines 0 comments Download
M services/service_manager/tests/connect/connect_test_exe.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +8 lines, -6 lines 0 comments Download
M services/service_manager/tests/lifecycle/package.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 5 chunks +23 lines, -11 lines 0 comments Download
M services/service_manager/tests/lifecycle/parent.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +11 lines, -11 lines 0 comments Download
M services/service_manager/tests/service_manager/embedder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +13 lines, -10 lines 0 comments Download
M services/service_manager/tests/service_manager/target.cc View 1 chunk +3 lines, -5 lines 0 comments Download
M services/shape_detection/shape_detection_service.h View 2 chunks +5 lines, -2 lines 0 comments Download
M services/shape_detection/shape_detection_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +9 lines, -22 lines 0 comments Download
M services/tracing/service.h View 1 2 3 4 5 6 7 3 chunks +5 lines, -2 lines 0 comments Download
M services/tracing/service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +11 lines, -8 lines 0 comments Download
M services/ui/demo/mus_demo.h View 1 chunk +0 lines, -2 lines 0 comments Download
M services/ui/demo/mus_demo.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M services/ui/display/screen_manager.h View 2 chunks +2 lines, -2 lines 0 comments Download
M services/ui/display/screen_manager_ozone_external.h View 1 chunk +1 line, -1 line 0 comments Download
M services/ui/display/screen_manager_ozone_external.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M services/ui/display/screen_manager_ozone_internal.h View 1 chunk +1 line, -1 line 0 comments Download
M services/ui/display/screen_manager_ozone_internal.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M services/ui/display/screen_manager_stub_internal.h View 1 chunk +1 line, -1 line 0 comments Download
M services/ui/display/screen_manager_stub_internal.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M services/ui/ime/test_ime_driver/test_ime_application.h View 1 chunk +0 lines, -2 lines 0 comments Download
M services/ui/ime/test_ime_driver/test_ime_application.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M services/ui/input_devices/input_device_server.h View 2 chunks +2 lines, -2 lines 0 comments Download
M services/ui/input_devices/input_device_server.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M services/ui/service.h View 1 2 3 4 5 6 7 5 chunks +8 lines, -4 lines 0 comments Download
M services/ui/service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +23 lines, -21 lines 0 comments Download
M services/ui/test_wm/test_wm.cc View 1 chunk +3 lines, -5 lines 0 comments Download
M services/ui/ws/test_utils.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M services/ui/ws/window_server_service_test_base.h View 1 2 3 4 5 6 7 1 chunk +4 lines, -2 lines 0 comments Download
M services/ui/ws/window_server_service_test_base.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -3 lines 0 comments Download
M services/ui/ws/window_server_test_base.h View 1 2 3 4 5 6 7 3 chunks +6 lines, -2 lines 0 comments Download
M services/ui/ws/window_server_test_base.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +9 lines, -7 lines 0 comments Download
M services/ui/ws/window_tree_client_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +8 lines, -5 lines 0 comments Download
M services/video_capture/service_impl.h View 3 chunks +5 lines, -2 lines 0 comments Download
M services/video_capture/service_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +10 lines, -6 lines 0 comments Download
M ui/ozone/platform/drm/ozone_platform_gbm.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M ui/ozone/public/ozone_platform.h View 1 2 3 4 5 6 7 2 chunks +3 lines, -3 lines 0 comments Download
M ui/ozone/public/ozone_platform.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -2 lines 0 comments Download
M ui/views/mus/views_mus_test_suite.cc View 1 chunk +3 lines, -4 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 92 (82 generated)
Ben Goodger (Google)
3 years, 8 months ago (2017-04-06 20:26:14 UTC) #65
sky
It seems as though you are removing all the OnCOnnects(). Doesn't this mean all the ...
3 years, 8 months ago (2017-04-06 21:43:02 UTC) #67
Ben Goodger (Google)
On 2017/04/06 21:43:02, sky wrote: > It seems as though you are removing all the ...
3 years, 8 months ago (2017-04-06 22:34:52 UTC) #68
sky
Also, consider adding BinderRegistry as a member to Service. It would need most overrides of ...
3 years, 8 months ago (2017-04-06 23:57:06 UTC) #73
Ben Goodger (Google)
On 2017/04/06 23:57:06, sky wrote: > Also, consider adding BinderRegistry as a member to Service. ...
3 years, 8 months ago (2017-04-07 01:35:23 UTC) #76
sky
Ok, LGTM
3 years, 8 months ago (2017-04-07 03:19:44 UTC) #77
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2795883002/380001
3 years, 8 months ago (2017-04-07 17:48:29 UTC) #80
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/357560) linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
3 years, 8 months ago (2017-04-07 18:07:41 UTC) #82
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2795883002/400001
3 years, 8 months ago (2017-04-07 22:39:53 UTC) #89
commit-bot: I haz the power
3 years, 8 months ago (2017-04-07 22:54:10 UTC) #92
Message was sent while issue was closed.
Committed patchset #21 (id:400001) as
https://chromium.googlesource.com/chromium/src/+/58ef184b0900151141583dd277c2...

Powered by Google App Engine
This is Rietveld 408576698