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

Unified Diff: mojo/shell/public/cpp/lib/application_runner.cc

Issue 1801963002: Change primordial pipes to ShellClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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: mojo/shell/public/cpp/lib/application_runner.cc
diff --git a/mojo/shell/public/cpp/lib/application_runner.cc b/mojo/shell/public/cpp/lib/application_runner.cc
index dd9be48f3401c27be453e4fbb5a433ae44140044..5253053d43f55ebe113404b038976858ab1abffc 100644
--- a/mojo/shell/public/cpp/lib/application_runner.cc
+++ b/mojo/shell/public/cpp/lib/application_runner.cc
@@ -81,4 +81,8 @@ void ApplicationRunner::DestroyShellConnection() {
connection_.reset();
}
+void ApplicationRunner::Quit() {
+ base::MessageLoop::current()->QuitWhenIdle();
+}
+
} // namespace mojo

Powered by Google App Engine
This is Rietveld 408576698