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

Unified Diff: content/browser/gpu/gpu_process_host.h

Issue 2096643002: Eliminate MojoApplicationHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mah3
Patch Set: . Created 4 years, 6 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/browser/frame_host/render_frame_host_manager.cc ('k') | content/browser/gpu/gpu_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/gpu_process_host.h
diff --git a/content/browser/gpu/gpu_process_host.h b/content/browser/gpu/gpu_process_host.h
index b750a4738b3d090852d9230d33d6a173123c2934..59c3b4d0761c8ffdfcd873172db6fe0d233264b4 100644
--- a/content/browser/gpu/gpu_process_host.h
+++ b/content/browser/gpu/gpu_process_host.h
@@ -49,7 +49,7 @@ namespace content {
class BrowserChildProcessHostImpl;
class GpuMainThread;
class InProcessChildThreadParams;
-class MojoApplicationHost;
+class MojoChildConnection;
class RenderWidgetHostViewFrameSubscriber;
class ShaderDiskCache;
@@ -106,7 +106,8 @@ class GpuProcessHost : public BrowserChildProcessHostDelegate,
GpuMainThreadFactoryFunction create);
// BrowserChildProcessHostDelegate implementation.
- ServiceRegistry* GetServiceRegistry() override;
+ shell::InterfaceRegistry* GetInterfaceRegistry() override;
+ shell::InterfaceProvider* GetRemoteInterfaces() override;
// Get the GPU process host for the GPU process with the given ID. Returns
// null if the process no longer exists.
@@ -300,9 +301,9 @@ class GpuProcessHost : public BrowserChildProcessHostDelegate,
std::string shader_prefix_key_;
// Browser-side Mojo endpoint which sets up a Mojo channel with the child
- // process and contains the browser's ServiceRegistry.
+ // process and contains the browser's shell::InterfaceRegistry.
const std::string child_token_;
- std::unique_ptr<MojoApplicationHost> mojo_application_host_;
+ std::unique_ptr<MojoChildConnection> mojo_child_connection_;
DISALLOW_COPY_AND_ASSIGN(GpuProcessHost);
};
« no previous file with comments | « content/browser/frame_host/render_frame_host_manager.cc ('k') | content/browser/gpu/gpu_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698