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

Unified Diff: mojo/public/cpp/application/application_impl.h

Issue 491443005: Get rid of KeepAlive. Quit shell when all urls run directly by Context are closed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Bring back ConnectToServiceViaNetwork Created 6 years, 4 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/public/cpp/application/application_impl.h
diff --git a/mojo/public/cpp/application/application_impl.h b/mojo/public/cpp/application/application_impl.h
index e16299fa6d291b708a11afb791ff77bc70fc62fe..e4d53c4ef35033a63ec20af1a3e27ee0d7646d75 100644
--- a/mojo/public/cpp/application/application_impl.h
+++ b/mojo/public/cpp/application/application_impl.h
@@ -82,7 +82,10 @@ class ApplicationImpl : public InterfaceImpl<Application> {
void BindShell(ScopedMessagePipeHandle shell_handle);
void ClearConnections();
- void OnShellError() { ClearConnections(); Terminate(); };
+ void OnShellError() {
+ ClearConnections();
+ Terminate();
+ };
// Quits the main run loop for this application.
static void Terminate();

Powered by Google App Engine
This is Rietveld 408576698