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

Unified Diff: services/service_manager/standalone/desktop/launcher_process.cc

Issue 2427443002: Replace remaining shell references with service manager (Closed)
Patch Set: Created 4 years, 2 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 | « services/service_manager/standalone/context.cc ('k') | services/service_manager/standalone/desktop/main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/service_manager/standalone/desktop/launcher_process.cc
diff --git a/services/service_manager/standalone/desktop/launcher_process.cc b/services/service_manager/standalone/desktop/launcher_process.cc
index 03dc41feb8629e3394a7da34e7328be122f669c0..203156e7003745f6c841dec6016daa12771fc960 100644
--- a/services/service_manager/standalone/desktop/launcher_process.cc
+++ b/services/service_manager/standalone/desktop/launcher_process.cc
@@ -36,20 +36,20 @@ int LauncherProcessMain() {
// We want the Context to outlive the MessageLoop so that pipes are all
// gracefully closed / error-out before we try to shut the Context down.
- Context shell_context;
+ Context service_manager_context;
{
base::MessageLoop message_loop;
CHECK(base::i18n::InitializeICU());
- shell_context.Init(nullptr);
+ service_manager_context.Init(nullptr);
message_loop.task_runner()->PostTask(
FROM_HERE, base::Bind(&Context::RunCommandLineApplication,
- base::Unretained(&shell_context)));
+ base::Unretained(&service_manager_context)));
base::RunLoop().Run();
// Must be called before |message_loop| is destroyed.
- shell_context.Shutdown();
+ service_manager_context.Shutdown();
}
return 0;
« no previous file with comments | « services/service_manager/standalone/context.cc ('k') | services/service_manager/standalone/desktop/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698