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

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

Issue 672313002: Adds ApplicationRunnerChromium::Quit. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: attempt 2 Created 6 years, 2 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9e7cfd6dc231154268c1b1ea2d3416edaf966a28..f4febd5a7916944c3a577b91378d187071bc76c2 100644
--- a/mojo/public/cpp/application/application_impl.h
+++ b/mojo/public/cpp/application/application_impl.h
@@ -82,6 +82,9 @@ class ApplicationImpl : public InterfaceImpl<Application> {
// Application implementation.
void Initialize(Array<String> args) override;
+ // Quits the main run loop for this application.
+ static void Terminate();
+
private:
class ShellPtrWatcher;
@@ -90,10 +93,7 @@ class ApplicationImpl : public InterfaceImpl<Application> {
void OnShellError() {
ClearConnections();
Terminate();
- };
-
- // Quits the main run loop for this application.
- static void Terminate();
+ }
// Application implementation.
void AcceptConnection(const String& requestor_url,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698