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

Unified Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 2183703005: Renderers should obtain browser InterfaceProvider by connecting to browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 4 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/renderer_host/render_process_host_impl.h
diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h
index 1951ed6f7fc4a7e814fc5085b613a2bfa7a15aa5..c65fa76df87dd179aba85eaca885822d83f0d919 100644
--- a/content/browser/renderer_host/render_process_host_impl.h
+++ b/content/browser/renderer_host/render_process_host_impl.h
@@ -33,6 +33,10 @@
#include "ui/gfx/gpu_memory_buffer.h"
#include "ui/gl/gpu_switching_observer.h"
+#if defined(OS_ANDROID)
+#include "content/public/browser/android/interface_registry_android.h"
+#endif
+
namespace base {
class CommandLine;
class MessageLoop;
@@ -296,6 +300,7 @@ class CONTENT_EXPORT RenderProcessHostImpl
private:
friend class ChildProcessLauncherBrowserTest_ChildSpawnFail_Test;
friend class VisitRelayingRenderProcessHost;
+ class ConnectionFilterImpl;
std::unique_ptr<IPC::ChannelProxy> CreateChannelProxy(
const std::string& channel_id);
@@ -364,7 +369,11 @@ class CONTENT_EXPORT RenderProcessHostImpl
std::string child_token_;
std::unique_ptr<MojoChildConnection> mojo_child_connection_;
+ ConnectionFilterImpl* connection_filter_ = nullptr;
shell::mojom::ServicePtr test_service_;
+#if defined(OS_ANDROID)
+ std::unique_ptr<InterfaceRegistryAndroid> interface_registry_android_;
+#endif
// The registered IPC listener objects. When this list is empty, we should
// delete ourselves.
« no previous file with comments | « content/browser/mojo/mojo_shell_context.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698