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

Unified Diff: mash/browser_driver/browser_driver_application_delegate.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/browser_driver/browser_driver_application_delegate.cc
diff --git a/mash/browser_driver/browser_driver_application_delegate.cc b/mash/browser_driver/browser_driver_application_delegate.cc
index d30225ec8d1c58710c000c14fa23c7d7a4250a8d..cc6bbdcefae08f176cd4d7173104f01f1c72224c 100644
--- a/mash/browser_driver/browser_driver_application_delegate.cc
+++ b/mash/browser_driver/browser_driver_application_delegate.cc
@@ -67,10 +67,10 @@ bool BrowserDriverApplicationDelegate::AcceptConnection(
return true;
}
-void BrowserDriverApplicationDelegate::ShellConnectionLost() {
+bool BrowserDriverApplicationDelegate::ShellConnectionLost() {
// Prevent the code in AddAccelerators() from keeping this app alive.
binding_.set_connection_error_handler(base::Bind(&DoNothing));
- base::MessageLoop::current()->QuitWhenIdle();
+ return true;
}
void BrowserDriverApplicationDelegate::OnAccelerator(
« no previous file with comments | « mash/browser_driver/browser_driver_application_delegate.h ('k') | mash/example/window_type_launcher/window_type_launcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698