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

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

Issue 2118083002: ShellClient -> Service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mus2
Patch Set: . Created 4 years, 5 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.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index 1c2f0563339e1c2e50a061de70bbf36b4b93ecab..c1c834adc180bf680335d0d4621099e5e6f59fec 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -611,8 +611,7 @@ RenderProcessHostImpl::RenderProcessHostImpl(
// MojoShellConnection prior to this point. This class of test code doesn't
// care about render processes so we can initialize a dummy one.
if (!MojoShellConnection::GetForProcess()) {
- shell::mojom::ShellClientRequest request =
- mojo::GetProxy(&test_shell_client_);
+ shell::mojom::ServiceRequest request = mojo::GetProxy(&test_service_);
MojoShellConnection::SetForProcess(MojoShellConnection::Create(
std::move(request)));
}
@@ -750,7 +749,7 @@ bool RenderProcessHostImpl::Init() {
BrowserThread::UnsafeGetMessageLoopForThread(BrowserThread::IO)
->task_runner(),
mojo_channel_token_,
- mojo_child_connection_->shell_client_token())));
+ mojo_child_connection_->service_token())));
base::Thread::Options options;
#if defined(OS_WIN) && !defined(OS_MACOSX)
@@ -1345,7 +1344,7 @@ void RenderProcessHostImpl::AppendRendererCommandLine(
mojo_channel_token_);
}
command_line->AppendSwitchASCII(switches::kMojoApplicationChannelToken,
- mojo_child_connection_->shell_client_token());
+ mojo_child_connection_->service_token());
}
void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer(
@@ -1603,7 +1602,7 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer(
DCHECK(mojo_child_connection_);
renderer_cmd->AppendSwitchASCII(switches::kPrimordialPipeToken,
- mojo_child_connection_->shell_client_token());
+ mojo_child_connection_->service_token());
#if defined(OS_WIN) && !defined(OFFICIAL_BUILD)
// Needed because we can't show the dialog from the sandbox. Don't pass
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.h ('k') | content/browser/utility_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698