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

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

Issue 947253003: Add ApplicationDelegate::Quit() (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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 | « no previous file | mojo/public/cpp/application/application_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/application/application_delegate.h
diff --git a/mojo/public/cpp/application/application_delegate.h b/mojo/public/cpp/application/application_delegate.h
index f95dca50ba85863ddee0871766deb8f3cfdbb64f..5519f6cd78ff56c921b5519db4b0c0610666401e 100644
--- a/mojo/public/cpp/application/application_delegate.h
+++ b/mojo/public/cpp/application/application_delegate.h
@@ -34,6 +34,10 @@ class ApplicationDelegate {
// Return false to reject the connection entirely.
virtual bool ConfigureOutgoingConnection(ApplicationConnection* connection);
+ // Called before ApplicationImpl::Terminate(). After returning from this call
+ // the delegate can no longer rely on the main run loop still running.
jamesr 2015/02/23 20:27:31 "the main run loop" is a feature of the chromium a
blundell 2015/02/23 20:35:42 I was following the terminology used in the commen
+ virtual void Quit();
+
private:
MOJO_DISALLOW_COPY_AND_ASSIGN(ApplicationDelegate);
};
« no previous file with comments | « no previous file | mojo/public/cpp/application/application_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698