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

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

Issue 2131493002: ShellConnection -> ServiceContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@st
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
« no previous file with comments | « components/leveldb/remote_iterator_unittest.cc ('k') | content/common/mojo/embedded_application_runner.cc » ('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 7f4177fd456f1c56c8806746220f4cf0a87d07bb..a7148d1db4ac525934bbfcd9a04d770c8c6b4b1b 100644
--- a/content/browser/mojo/mojo_shell_context.cc
+++ b/content/browser/mojo/mojo_shell_context.cc
@@ -267,11 +267,10 @@ MojoShellContext::MojoShellContext() {
mojo::edk::SetParentPipeHandleFromCommandLine();
request = shell::GetServiceRequestFromCommandLine();
} else {
- service_manager_.reset(
- new shell::ServiceManager(std::move(native_runner_factory),
- catalog_->TakeService()));
- request = service_manager_->StartEmbedderService(
- kBrowserMojoApplicationName);
+ service_manager_.reset(new shell::ServiceManager(
+ std::move(native_runner_factory), catalog_->TakeService()));
+ request =
+ service_manager_->StartEmbedderService(kBrowserMojoApplicationName);
}
MojoShellConnection::SetForProcess(
MojoShellConnection::Create(std::move(request)));
« no previous file with comments | « components/leveldb/remote_iterator_unittest.cc ('k') | content/common/mojo/embedded_application_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698