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

Unified Diff: content/browser/mojo/mojo_shell_context.cc

Issue 2230283003: Revert of Establish MojoChildConnection from BrowserChildProcessHostImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@renderer-channel
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
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | content/browser/ppapi_plugin_process_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/mojo/mojo_shell_context.cc
diff --git a/content/browser/mojo/mojo_shell_context.cc b/content/browser/mojo/mojo_shell_context.cc
index 85dfabccb714ef28b7c983fd0989d08b4d456e7d..16b422849a9a8d7c3028e704f97afd9eeabe8c35 100644
--- a/content/browser/mojo/mojo_shell_context.cc
+++ b/content/browser/mojo/mojo_shell_context.cc
@@ -85,7 +85,7 @@
// thread.
void RequestGpuProcessControl(
mojo::InterfaceRequest<mojom::ProcessControl> request) {
- GpuProcessHost* process_host =
+ BrowserChildProcessHostDelegate* process_host =
GpuProcessHost::Get(GpuProcessHost::GPU_PROCESS_KIND_SANDBOXED);
if (!process_host) {
DLOG(ERROR) << "GPU process host not available.";
@@ -222,6 +222,7 @@
DISALLOW_COPY_AND_ASSIGN(InProcessServiceManagerContext);
};
+
MojoShellContext::MojoShellContext() {
shell::mojom::ServiceRequest request;
@@ -242,8 +243,6 @@
IDR_MOJO_CONTENT_BROWSER_MANIFEST);
manifest_provider->AddManifestResource(kGpuMojoApplicationName,
IDR_MOJO_CONTENT_GPU_MANIFEST);
- manifest_provider->AddManifestResource(kPluginMojoApplicationName,
- IDR_MOJO_CONTENT_PLUGIN_MANIFEST);
manifest_provider->AddManifestResource(kRendererMojoApplicationName,
IDR_MOJO_CONTENT_RENDERER_MANIFEST);
manifest_provider->AddManifestResource(kUtilityMojoApplicationName,
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | content/browser/ppapi_plugin_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698