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

Unified Diff: mash/example/window_type_launcher/window_type_launcher.cc

Issue 1819063002: Quit the message loop by default in ShellConnectionLost when ApplicationRunner is used (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge and update resourceproviderunittest 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: mash/example/window_type_launcher/window_type_launcher.cc
diff --git a/mash/example/window_type_launcher/window_type_launcher.cc b/mash/example/window_type_launcher/window_type_launcher.cc
index 2628f034753b6659e572232cb70962f2bd0a99b5..0547e84b3e02a6fb7c1838a6375fc77269ee303c 100644
--- a/mash/example/window_type_launcher/window_type_launcher.cc
+++ b/mash/example/window_type_launcher/window_type_launcher.cc
@@ -384,6 +384,7 @@ void WindowTypeLauncher::Initialize(mojo::Connector* connector,
widget->Show();
}
-void WindowTypeLauncher::ShellConnectionLost() {
+bool WindowTypeLauncher::ShellConnectionLost() {
base::MessageLoop::current()->QuitWhenIdle();
+ return false;
}
« no previous file with comments | « mash/example/window_type_launcher/window_type_launcher.h ('k') | mash/quick_launch/quick_launch_application.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698