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

Unified Diff: mojo/services/tracing/tracing_app.cc

Issue 1761113002: Monitor the ShellClient binding for pipe closure as a signal to shut down the ShellConnection, rath… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@28lifecycle2
Patch Set: Created 4 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 | « mojo/services/tracing/tracing_app.h ('k') | mojo/shell/public/cpp/lib/connector_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/tracing/tracing_app.cc
diff --git a/mojo/services/tracing/tracing_app.cc b/mojo/services/tracing/tracing_app.cc
index f7885eb75b6b20bce186ccbc844f1f46a7ec38d1..65b44219b2540cfda0d94528acf450701136f6c6 100644
--- a/mojo/services/tracing/tracing_app.cc
+++ b/mojo/services/tracing/tracing_app.cc
@@ -42,9 +42,8 @@ bool TracingApp::AcceptConnection(mojo::Connection* connection) {
return true;
}
-bool TracingApp::ShellConnectionLost() {
+void TracingApp::ShellConnectionLost() {
base::MessageLoop::current()->QuitWhenIdle();
- return true;
}
void TracingApp::Create(mojo::Connection* connection,
« no previous file with comments | « mojo/services/tracing/tracing_app.h ('k') | mojo/shell/public/cpp/lib/connector_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698