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

Unified Diff: mash/session/session.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 | « mash/login/manifest.json ('k') | mash/task_viewer/manifest.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/session/session.cc
diff --git a/mash/session/session.cc b/mash/session/session.cc
index 395a59a3f49cd6e5ea32ed3e4cf955003ae1e02b..76aeda066fe713903b8ce86b62de2d62c61cc187 100644
--- a/mash/session/session.cc
+++ b/mash/session/session.cc
@@ -129,7 +129,8 @@ void Session::StartRestartableService(
// to avoid infinite crash-restart loops.
std::unique_ptr<service_manager::Connection> connection =
connector()->Connect(url);
- // Note: |connection| may be null if we've lost our connection to the shell.
+ // Note: |connection| may be null if we've lost our connection to the service
+ // manager.
if (connection) {
connection->SetConnectionLostClosure(
base::Bind(&LogAndCallServiceRestartCallback, url, restart_callback));
« no previous file with comments | « mash/login/manifest.json ('k') | mash/task_viewer/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698