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

Issue 2456493003: Add frame-specific InterfaceProviderSpec. (Closed)

Created:
4 years, 1 month ago by Ben Goodger (Google)
Modified:
4 years, 1 month ago
CC:
Aaron Boodman, abarth-chromium, blink-worker-reviews_chromium.org, chromium-reviews, creis+watch_chromium.org, darin (slow to review), darin-cc_chromium.org, horo+watch_chromium.org, jam, jsbell+serviceworker_chromium.org, kinuko+watch, kinuko+serviceworker, michaeln, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, nhiroki, qsr+mojo_chromium.org, serviceworker-reviews, shimazu+serviceworker_chromium.org, tzik, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add frame-specific InterfaceProviderSpec. Interfaces exposed between browser <--> renderer at the frame level are now controlled via the "navigation:frame" InterfaceProviderSpec. Wires ServiceInfo from IO thread thru to main thread @ connect time. Changes InterfaceRegistry ctor back to take no params, and passes local info @ Bind() time. Reason is, content code creates IR before OnStart is called, no way to know local info. Turns out only needed at Bind() time. Will convert other InterfaceRegistry uses in separate CLs. R=rockot@chromium.org,tsepez@chromium.org CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/275a565819b71dc186f9b4a5249fda24058d364b Cr-Commit-Position: refs/heads/master@{#428394}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Total comments: 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 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+385 lines, -86 lines) Patch
M android_webview/browser/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
A android_webview/browser/aw_browser_manifest_overlay.json View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +13 lines, -0 lines 0 comments Download
M android_webview/browser/aw_content_browser_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download
M android_webview/browser/aw_content_browser_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +17 lines, -0 lines 0 comments Download
M android_webview/ui/aw_resources.grd View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M ash/mus/manifest.json View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chrome_content_browser_manifest_overlay.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +21 lines, -1 line 0 comments Download
M chrome/browser/chrome_content_renderer_manifest_overlay.json View 1 2 3 4 5 6 7 8 1 chunk +12 lines, -1 line 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 2 3 4 5 2 chunks +8 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 7 chunks +46 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M content/browser/service_worker/embedded_worker_instance.cc View 1 2 3 4 3 chunks +10 lines, -8 lines 0 comments Download
M content/browser/service_worker/embedded_worker_test_helper.cc View 1 2 3 4 3 chunks +8 lines, -4 lines 0 comments Download
M content/child/child_thread_impl.h View 1 2 3 4 5 2 chunks +15 lines, -0 lines 0 comments Download
M content/child/child_thread_impl.cc View 1 2 3 4 5 6 7 8 9 4 chunks +32 lines, -1 line 0 comments Download
M content/common/frame.mojom View 1 chunk +4 lines, -0 lines 0 comments Download
M content/common/service_manager/service_manager_connection_impl.h View 1 2 3 3 chunks +8 lines, -0 lines 0 comments Download
M content/common/service_manager/service_manager_connection_impl.cc View 1 2 3 4 5 7 chunks +40 lines, -6 lines 0 comments Download
M content/public/app/mojo/content_browser_manifest.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +33 lines, -1 line 0 comments Download
M content/public/app/mojo/content_renderer_manifest.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +11 lines, -0 lines 0 comments Download
M content/public/common/service_manager_connection.h View 2 3 2 chunks +9 lines, -0 lines 0 comments Download
M content/public/test/mock_render_thread.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +17 lines, -4 lines 0 comments Download
M content/renderer/service_worker/embedded_worker_instance_client_impl.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M content/renderer/service_worker/service_worker_context_client.cc View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download
M ios/web/web_state/web_state_impl.mm View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M ios/web/webui/mojo_facade_unittest.mm View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M services/service_manager/public/cpp/interface_provider_spec.h View 1 chunk +7 lines, -0 lines 0 comments Download
M services/service_manager/public/cpp/interface_registry.h View 1 2 3 4 3 chunks +8 lines, -7 lines 0 comments Download
M services/service_manager/public/cpp/lib/interface_provider_spec.cc View 2 chunks +14 lines, -0 lines 0 comments Download
M services/service_manager/public/cpp/lib/interface_registry.cc View 1 2 3 4 3 chunks +13 lines, -11 lines 0 comments Download
M services/service_manager/public/cpp/lib/service_context.cc View 1 2 3 4 1 chunk +9 lines, -14 lines 0 comments Download
M services/service_manager/public/cpp/tests/interface_registry_unittest.cc View 1 2 3 4 5 chunks +6 lines, -9 lines 0 comments Download

Messages

Total messages: 80 (62 generated)
Ben Goodger (Google)
ken: * tom: *.json
4 years, 1 month ago (2016-10-27 00:25:46 UTC) #13
Ken Rockot(use gerrit already)
LGTM just some nits. At a quick glance, the red appears to be all due ...
4 years, 1 month ago (2016-10-27 05:12:52 UTC) #22
Tom Sepez
lgtm
4 years, 1 month ago (2016-10-27 16:26:25 UTC) #41
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/2456493003/240001
4 years, 1 month ago (2016-10-27 23:28:25 UTC) #52
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/57402) linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, ...
4 years, 1 month ago (2016-10-27 23:54:52 UTC) #54
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/2456493003/260001
4 years, 1 month ago (2016-10-27 23:59:35 UTC) #57
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/169686)
4 years, 1 month ago (2016-10-28 00:49:22 UTC) #59
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/2456493003/280001
4 years, 1 month ago (2016-10-28 02:26:36 UTC) #62
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/324290)
4 years, 1 month ago (2016-10-28 03:41:33 UTC) #64
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/2456493003/300001
4 years, 1 month ago (2016-10-28 14:05:38 UTC) #67
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/262238)
4 years, 1 month ago (2016-10-28 15:06:05 UTC) #69
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/2456493003/320001
4 years, 1 month ago (2016-10-28 15:09:46 UTC) #72
commit-bot: I haz the power
Committed patchset #17 (id:320001)
4 years, 1 month ago (2016-10-28 16:56:19 UTC) #74
commit-bot: I haz the power
Patchset 17 (id:??) landed as https://crrev.com/275a565819b71dc186f9b4a5249fda24058d364b Cr-Commit-Position: refs/heads/master@{#428394}
4 years, 1 month ago (2016-10-28 17:21:50 UTC) #76
Will Harris
This CL is causing major regressions for navigation to chrome:// URLs. I think this CL ...
4 years, 1 month ago (2016-10-31 21:27:18 UTC) #77
Sami
Looks like this made the headless bot[1] a bit unhappy -- couple of tests are ...
4 years, 1 month ago (2016-11-01 11:25:21 UTC) #78
Ben Goodger (Google)
Sami - you need to add an overlay for the content browser manifest, and permit ...
4 years, 1 month ago (2016-11-01 13:58:58 UTC) #79
Sami
4 years, 1 month ago (2016-11-02 12:00:37 UTC) #80
Message was sent while issue was closed.
On 2016/11/01 13:58:58, Ben Goodger (Google) wrote:
> Sami - you need to add an overlay for the content browser manifest, and permit
> "embedder_test::TestEmbedderService" to be added to the navigation:frame
> interface from it.
> 
> For a trivial example, see how android_webview does it:
> 
>
https://chromium.googlesource.com/chromium/src/+/master/android_webview/brows...
>
https://chromium.googlesource.com/chromium/src/+/master/android_webview/brows...

Thank you, that did the trick!

Powered by Google App Engine
This is Rietveld 408576698