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

Issue 2775483003: Use public Service Manager Connector API in Blink (Closed)

Created:
3 years, 9 months ago by Ken Rockot(use gerrit already)
Modified:
3 years, 8 months ago
Reviewers:
haraken, jam, dglazkov, blundell
CC:
Aaron Boodman, abarth-chromium, blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, creis+watch_chromium.org, darin (slow to review), darin-cc_chromium.org, dglazkov+blink, kinuko+watch, mlamouri+watch-blink_chromium.org, mlamouri+watch-screen-orientation_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, qsr+mojo_chromium.org, timvolodine, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Use public Service Manager Connector API in Blink This takes advantage of the fact that the Connector API's usage in Blink does not in practice expose any interesting or undesirable dependencies, allowing us to use the API directly instead of wrapping it in a special layered Blink/content implementation. BUG=704501 Review-Url: https://codereview.chromium.org/2775483003 Cr-Commit-Position: refs/heads/master@{#460074} Committed: https://chromium.googlesource.com/chromium/src/+/493602dbef2f87945e98f9765345d8d7bd908de9

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -424 lines) Patch
M content/public/test/render_view_test.cc View 1 2 3 4 2 chunks +1 line, -2 lines 0 comments Download
M content/renderer/BUILD.gn View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
D content/renderer/mojo/blink_connector_impl.h View 1 chunk +0 lines, -73 lines 0 comments Download
D content/renderer/mojo/blink_connector_impl.cc View 1 2 3 1 chunk +0 lines, -90 lines 0 comments Download
D content/renderer/mojo/blink_connector_impl_unittest.cc View 2 3 1 chunk +0 lines, -158 lines 0 comments Download
M content/renderer/mojo/blink_connector_js_wrapper.h View 4 chunks +9 lines, -7 lines 0 comments Download
M content/renderer/mojo/blink_connector_js_wrapper.cc View 1 2 4 chunks +12 lines, -7 lines 0 comments Download
M content/renderer/mojo/interface_provider_js_wrapper.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/renderer_blink_platform_impl.h View 1 2 3 4 5 chunks +2 lines, -5 lines 0 comments Download
M content/renderer/renderer_blink_platform_impl.cc View 1 2 3 4 4 chunks +9 lines, -7 lines 0 comments Download
M content/test/BUILD.gn View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M services/service_manager/public/cpp/connector.h View 1 2 3 2 chunks +9 lines, -4 lines 0 comments Download
M services/service_manager/public/cpp/lib/connector_impl.h View 1 2 3 1 chunk +5 lines, -2 lines 0 comments Download
M services/service_manager/public/cpp/lib/connector_impl.cc View 1 2 3 2 chunks +10 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/DEPS View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/battery/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/screen_orientation/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationDispatcher.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/time_zone_monitor/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/time_zone_monitor/TimeZoneMonitorClient.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/vibration/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/vibration/VibrationController.cpp View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/exported/Platform.cpp View 1 2 3 4 3 chunks +23 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/exported/ServiceRegistry.cpp View 2 chunks +0 lines, -12 lines 0 comments Download
M third_party/WebKit/public/BUILD.gn View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
D third_party/WebKit/public/platform/Connector.h View 1 chunk +0 lines, -32 lines 0 comments Download
M third_party/WebKit/public/platform/Platform.h View 1 2 3 3 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 42 (31 generated)
Ken Rockot(use gerrit already)
3 years, 9 months ago (2017-03-23 16:24:05 UTC) #6
Ken Rockot(use gerrit already)
NOTE: the CQ redness is the bot_update bug discussed here https://groups.google.com/a/chromium.org/forum/?utm_medium=email&utm_source=footer#!msg/infra-dev/L0UrI8z62N8/Z8FD6LHdBQAJ The patch works just ...
3 years, 9 months ago (2017-03-23 16:26:57 UTC) #9
blundell
This looks fantastic from a code simplification POV of course :D. I think the key ...
3 years, 9 months ago (2017-03-24 10:59:28 UTC) #18
jam
Thanks! This looks great to me; perhaps get Kentaro to take a look?
3 years, 9 months ago (2017-03-24 14:38:13 UTC) #19
Ken Rockot(use gerrit already)
Per offline discussion, I've rebased this CL so that it doesn't depend on any kind ...
3 years, 9 months ago (2017-03-27 20:40:24 UTC) #23
dglazkov
lgtm
3 years, 9 months ago (2017-03-27 20:45:02 UTC) #25
jam
lgtm
3 years, 9 months ago (2017-03-27 20:50:09 UTC) #26
haraken
LGTM
3 years, 8 months ago (2017-03-28 02:47:07 UTC) #29
blundell
LGTM
3 years, 8 months ago (2017-03-28 07:21:34 UTC) #30
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/2775483003/80001
3 years, 8 months ago (2017-03-28 12:46:06 UTC) #39
commit-bot: I haz the power
3 years, 8 months ago (2017-03-28 12:51:59 UTC) #42
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/493602dbef2f87945e98f9765345...

Powered by Google App Engine
This is Rietveld 408576698