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 ea159cbad61aa1a20db7c2ed4eef0541e98df009..b1669f212c5c6736eac8522e9a6f5fe8c752d297 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.h |
+++ b/content/browser/frame_host/render_frame_host_impl.h |
@@ -363,6 +363,14 @@ class CONTENT_EXPORT RenderFrameHostImpl |
const CommonNavigationParams& common_params, |
const CommitNavigationParams& commit_params); |
+ // Sets up the Mojo connection between this instance and its associated render |
+ // frame if it has not yet been set up. |
+ void SetUpMojoIfNeeded(); |
+ |
+ // Tears down the browser-side state relating to the Mojo connection between |
+ // this instance and its associated render frame. |
+ void InvalidateMojoConnection(); |
+ |
protected: |
friend class RenderFrameHostFactory; |
@@ -558,7 +566,7 @@ class CONTENT_EXPORT RenderFrameHostImpl |
// SiteInstance. |
scoped_ptr<TimeoutMonitor> swapout_event_monitor_timeout_; |
- ServiceRegistryImpl service_registry_; |
+ scoped_ptr<ServiceRegistryImpl> service_registry_; |
#if defined(OS_ANDROID) |
scoped_ptr<ServiceRegistryAndroid> service_registry_android_; |