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

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 2446313003: Revise InterfaceRegistry API to support filtering interfaces @ Bind() time. (Closed)
Patch Set: . Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index bd548ac0cd443e251eecf2204df6a4e5648fb09f..15cc0b08086d4132ec5d31dd810ae824c2f7caec 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -1222,8 +1222,8 @@ void RenderProcessHostImpl::CreateMessageFilters() {
}
void RenderProcessHostImpl::RegisterMojoInterfaces() {
- std::unique_ptr<service_manager::InterfaceRegistry> registry(
- new service_manager::InterfaceRegistry);
+ auto registry = base::MakeUnique<service_manager::InterfaceRegistry>(
+ service_manager::Identity(), service_manager::InterfaceProviderSpec());
channel_->AddAssociatedInterface(
base::Bind(&RenderProcessHostImpl::OnRouteProviderRequest,
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/browser/service_worker/embedded_worker_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698