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

Unified Diff: chrome/test/base/mash_browser_tests_main.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
« no previous file with comments | « chrome/app/mash/mash_runner.cc ('k') | content/common/service_manager/embedded_service_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/mash_browser_tests_main.cc
diff --git a/chrome/test/base/mash_browser_tests_main.cc b/chrome/test/base/mash_browser_tests_main.cc
index 5f44d7fc80b40e785053f6d56bde6178b69e8de6..7e01188225c2c0ac15529abfe9f6afe691e6c221 100644
--- a/chrome/test/base/mash_browser_tests_main.cc
+++ b/chrome/test/base/mash_browser_tests_main.cc
@@ -162,7 +162,7 @@ void StartChildApp(service_manager::mojom::ServiceRequest service_request) {
service_manager::ServiceContext context(
base::MakeUnique<mash::MashPackagedService>(),
std::move(service_request));
- context.SetConnectionLostClosure(run_loop.QuitClosure());
+ context.SetQuitClosure(run_loop.QuitClosure());
run_loop.Run();
}
« no previous file with comments | « chrome/app/mash/mash_runner.cc ('k') | content/common/service_manager/embedded_service_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698