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

Unified Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 2456493003: Add frame-specific InterfaceProviderSpec. (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/frame_host/render_frame_host_impl.h
diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h
index de010d59d850a56cf4d4ad665378669aed6e5d79..18f9c61ab5b56dcaf87badbf3060514de4204f3f 100644
--- a/content/browser/frame_host/render_frame_host_impl.h
+++ b/content/browser/frame_host/render_frame_host_impl.h
@@ -815,6 +815,9 @@ class CONTENT_EXPORT RenderFrameHostImpl
// happen before it fires (to avoid flakiness).
void DisableSwapOutTimerForTesting();
+ void OnRendererConnect(const service_manager::ServiceInfo& local_info,
+ const service_manager::ServiceInfo& remote_info);
+
// For now, RenderFrameHosts indirectly keep RenderViewHosts alive via a
// refcount that calls Shutdown when it reaches zero. This allows each
// RenderFrameHostManager to just care about RenderFrameHosts, while ensuring
@@ -958,6 +961,11 @@ class CONTENT_EXPORT RenderFrameHostImpl
std::unique_ptr<service_manager::InterfaceRegistry> interface_registry_;
std::unique_ptr<service_manager::InterfaceProvider> remote_interfaces_;
+ service_manager::ServiceInfo local_info_;
Ken Rockot(use gerrit already) 2016/10/27 05:12:52 nit: maybe browser_info_ and renderer_info_ would
+ service_manager::ServiceInfo remote_info_;
+
+ int on_connect_handler_id_ = 0;
+
#if defined(OS_ANDROID)
// The filter for MessagePort messages between an Android apps and web.
scoped_refptr<AppWebMessagePortMessageFilter>
« no previous file with comments | « no previous file | content/browser/frame_host/render_frame_host_impl.cc » ('j') | content/child/child_thread_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698