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

Unified Diff: content/browser/utility_process_host_impl.h

Issue 2099423002: Convert UtilityProcess to use MojoChild/ShellConnection for the shell handshake. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gpu
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/mojo/mojo_shell_context.cc ('k') | content/browser/utility_process_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/utility_process_host_impl.h
diff --git a/content/browser/utility_process_host_impl.h b/content/browser/utility_process_host_impl.h
index c5d265186a3de98d4ab8511ce24499f5709bcffe..88deabb1af3e03fb0d118a9855ce7b7ba7161a3f 100644
--- a/content/browser/utility_process_host_impl.h
+++ b/content/browser/utility_process_host_impl.h
@@ -26,7 +26,7 @@ class Thread;
namespace content {
class BrowserChildProcessHostImpl;
class InProcessChildThreadParams;
-class MojoApplicationHost;
+class MojoChildConnection;
typedef base::Thread* (*UtilityMainThreadFactoryFunction)(
const InProcessChildThreadParams&);
@@ -121,7 +121,7 @@ class CONTENT_EXPORT UtilityProcessHostImpl
// Browser-side Mojo endpoint which sets up a Mojo channel with the child
// 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_;
// Used to vend weak pointers, and should always be declared last.
base::WeakPtrFactory<UtilityProcessHostImpl> weak_ptr_factory_;
« no previous file with comments | « content/browser/mojo/mojo_shell_context.cc ('k') | content/browser/utility_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698