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

Unified Diff: content/common/service_manager/embedded_service_runner.cc

Issue 2701883002: service_manager: More consistent Service lifecycle API (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: content/common/service_manager/embedded_service_runner.cc
diff --git a/content/common/service_manager/embedded_service_runner.cc b/content/common/service_manager/embedded_service_runner.cc
index 0c7c45890da1eb08815a88162394c6fd70744953..665a6e388b3569a4996daccbc6f23c4c99d4f9f5 100644
--- a/content/common/service_manager/embedded_service_runner.cc
+++ b/content/common/service_manager/embedded_service_runner.cc
@@ -87,7 +87,7 @@ class EmbeddedServiceRunner::InstanceManager
factory_callback_.Run(), std::move(request));
service_manager::ServiceContext* raw_context = context.get();
- context->SetConnectionLostClosure(
+ context->SetQuitClosure(
base::Bind(&InstanceManager::OnInstanceLost, this, instance_id));
contexts_.insert(std::make_pair(raw_context, std::move(context)));
id_to_context_map_.insert(std::make_pair(instance_id, raw_context));
« no previous file with comments | « chrome/test/base/mash_browser_tests_main.cc ('k') | content/common/service_manager/service_manager_connection_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698