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

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

Issue 975973002: Update mojo sdk to rev f68e697e389943cd9bf9652397312280e96b127a (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: shake fist at msvc 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
Index: third_party/mojo/src/mojo/public/cpp/application/application_delegate.h
diff --git a/third_party/mojo/src/mojo/public/cpp/application/application_delegate.h b/third_party/mojo/src/mojo/public/cpp/application/application_delegate.h
index f95dca50ba85863ddee0871766deb8f3cfdbb64f..5519f6cd78ff56c921b5519db4b0c0610666401e 100644
--- a/third_party/mojo/src/mojo/public/cpp/application/application_delegate.h
+++ b/third_party/mojo/src/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.
+ virtual void Quit();
+
private:
MOJO_DISALLOW_COPY_AND_ASSIGN(ApplicationDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698