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

Unified Diff: chrome/app/mash/mash_runner.cc

Issue 2695803004: Make browser process a singleton service (Closed)
Patch Set: . Created 3 years, 10 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: chrome/app/mash/mash_runner.cc
diff --git a/chrome/app/mash/mash_runner.cc b/chrome/app/mash/mash_runner.cc
index 2923afcb75c417a4a28004f212e1dc2e864262f8..70a844135a1ed30dcec0254b8f9e07546420c4af 100644
--- a/chrome/app/mash/mash_runner.cc
+++ b/chrome/app/mash/mash_runner.cc
@@ -94,12 +94,12 @@ class ServiceProcessLauncherDelegateImpl
const service_manager::Identity& target,
base::CommandLine* command_line) override {
if (target.name() == kChromeMashServiceName ||
- target.name() == content::mojom::kBrowserServiceName) {
+ target.name() == content::mojom::kPackagedServicesServiceName) {
base::FilePath exe_path;
base::PathService::Get(base::FILE_EXE, &exe_path);
command_line->SetProgram(exe_path);
}
- if (target.name() != content::mojom::kBrowserServiceName) {
+ if (target.name() != content::mojom::kPackagedServicesServiceName) {
// If running anything other than the browser process, launch a mash
// child process. The new process will execute MashRunner::RunChild().
command_line->AppendSwitchASCII(switches::kProcessType, kMashChild);

Powered by Google App Engine
This is Rietveld 408576698