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

Issue 2098743002: Always enable register local implementaions into remote interfaces of rfh. (Closed)

Created:
4 years, 6 months ago by leonhsl(Using Gerrit)
Modified:
4 years, 5 months ago
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Always enable register local implementaions into remote interfaces of rfh. As for test codes using MockRenderProcessHost(No remote interfaces by default), render frame host won't create remote_interfaces_ instance, this will forbid test codes registering local implementations into it. For such case, this CL just creates an shell::InterfaceProvider without any binding, such InterfaceProvider is only for managing local implementations. BUG= CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation

Patch Set 1 #

Patch Set 2 #

Patch Set 3 : Rebase #

Total comments: 2

Patch Set 4 : Revise code comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -3 lines) Patch
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 1 chunk +7 lines, -1 line 0 comments Download
M services/shell/public/cpp/lib/interface_provider.cc View 1 2 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 25 (12 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2098743002/1
4 years, 6 months ago (2016-06-24 08:28:30 UTC) #3
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-24 10:07:58 UTC) #5
leonhsl(Using Gerrit)
I encountered the problem in https://codereview.chromium.org/2007473004/diff/80001/components/autofill/content/browser/content_autofill_driver_unittest.cc, where I found the remote_interfaces_ of main render frame ...
4 years, 6 months ago (2016-06-24 10:17:26 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2098743002/20001
4 years, 6 months ago (2016-06-24 17:06:01 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-24 18:34:05 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2098743002/40001
4 years, 5 months ago (2016-06-29 08:13:15 UTC) #13
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-06-29 10:11:25 UTC) #15
leonhsl(Using Gerrit)
Soft ping ben@, Thanks. The point is to enable Shell::InterfaceProvider instance be constructed without Binding ...
4 years, 5 months ago (2016-06-29 14:09:04 UTC) #17
Ben Goodger (Google)
https://codereview.chromium.org/2098743002/diff/40001/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/2098743002/diff/40001/content/browser/frame_host/render_frame_host_impl.cc#newcode2401 content/browser/frame_host/render_frame_host_impl.cc:2401: remote_interfaces_.reset(new shell::InterfaceProvider); Is this blocking something you want to ...
4 years, 5 months ago (2016-06-29 17:55:54 UTC) #18
leonhsl(Using Gerrit)
https://codereview.chromium.org/2098743002/diff/40001/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/2098743002/diff/40001/content/browser/frame_host/render_frame_host_impl.cc#newcode2401 content/browser/frame_host/render_frame_host_impl.cc:2401: remote_interfaces_.reset(new shell::InterfaceProvider); On 2016/06/29 17:55:54, Ben Goodger (Google) wrote: ...
4 years, 5 months ago (2016-06-29 22:25:33 UTC) #19
leonhsl(Using Gerrit)
Hi, Ken, I already separated this CL from my original CL https://codereview.chromium.org/2007473004/
4 years, 5 months ago (2016-06-29 23:36:57 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2098743002/60001
4 years, 5 months ago (2016-06-30 02:29:46 UTC) #23
commit-bot: I haz the power
4 years, 5 months ago (2016-06-30 04:26:37 UTC) #25
Dry run: This issue passed the CQ dry run.

Powered by Google App Engine
This is Rietveld 408576698