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

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 1cd9d75202f7c59032b83b225c199d3d3960b8e4..f0d8d06376d69286e96bfca5db50aa2f39ee9ff3 100644
--- a/content/browser/frame_host/render_frame_host_impl.h
+++ b/content/browser/frame_host/render_frame_host_impl.h
@@ -817,6 +817,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
@@ -960,6 +963,11 @@ class CONTENT_EXPORT RenderFrameHostImpl
std::unique_ptr<service_manager::InterfaceRegistry> interface_registry_;
std::unique_ptr<service_manager::InterfaceProvider> remote_interfaces_;
+ service_manager::ServiceInfo browser_info_;
+ service_manager::ServiceInfo renderer_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 | « chrome/browser/chrome_content_renderer_manifest_overlay.json ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698