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

Unified Diff: content/public/browser/render_process_host.h

Issue 2766263009: Convert content ConnectionFilter to OnBindInterface (Closed)
Patch Set: . Created 3 years, 8 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
« no previous file with comments | « content/public/browser/gpu_service_registry.cc ('k') | content/public/browser/utility_process_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/render_process_host.h
diff --git a/content/public/browser/render_process_host.h b/content/public/browser/render_process_host.h
index c641f6876ebe61d71c3eaccf31303349329f1790..d710235d58a40c77cd2ca9a6da87d7020c1a6000 100644
--- a/content/public/browser/render_process_host.h
+++ b/content/public/browser/render_process_host.h
@@ -16,6 +16,7 @@
#include "base/process/process_handle.h"
#include "base/supports_user_data.h"
#include "content/common/content_export.h"
+#include "content/public/common/bind_interface_helpers.h"
#include "ipc/ipc_channel_proxy.h"
#include "ipc/ipc_sender.h"
#include "media/media_features.h"
@@ -32,10 +33,6 @@ namespace media {
class AudioOutputController;
}
-namespace service_manager {
-class InterfaceProvider;
-}
-
namespace content {
class BrowserContext;
class BrowserMessageFilter;
@@ -276,10 +273,9 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender,
// transferring it to a new renderer process.
virtual void ResumeDeferredNavigation(const GlobalRequestID& request_id) = 0;
- // Returns the service_manager::InterfaceProvider the browser process can use
- // to bind
- // interfaces exposed to it from the renderer.
- virtual service_manager::InterfaceProvider* GetRemoteInterfaces() = 0;
+ // Binds interfaces exposed to the browser process from the renderer.
+ virtual void BindInterface(const std::string& interface_name,
+ mojo::ScopedMessagePipeHandle interface_pipe) = 0;
// Extracts any persistent-memory-allocator used for renderer metrics.
// Ownership is passed to the caller. To support sharing of histogram data
« no previous file with comments | « content/public/browser/gpu_service_registry.cc ('k') | content/public/browser/utility_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698