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 5393ddeadf53ba966cd853fcad27eff4eae8da96..e64fedf529e04fbe288103443ee0871dfb96e795 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -138,6 +138,7 @@ |
#include "content/public/browser/content_browser_client.h" |
#include "content/public/browser/notification_service.h" |
#include "content/public/browser/notification_types.h" |
+#include "content/public/browser/owned_interface.h" |
#include "content/public/browser/render_process_host_factory.h" |
#include "content/public/browser/render_process_host_observer.h" |
#include "content/public/browser/render_widget_host.h" |
@@ -2100,6 +2101,11 @@ void RenderProcessHostImpl::AddFilter(BrowserMessageFilter* filter) { |
channel_->AddFilter(filter->GetFilter()); |
} |
+void RenderProcessHostImpl::AddOwnedInterface( |
+ std::unique_ptr<OwnedInterface> impl) { |
+ owned_interface_impls_.push_back(std::move(impl)); |
+} |
+ |
bool RenderProcessHostImpl::FastShutdownForPageCount(size_t count) { |
if (GetActiveViewCount() == count) |
return FastShutdownIfPossible(); |