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

Unified Diff: mojo/public/cpp/application/lib/run_application.cc

Issue 2011383002: Get rid of {Run,Terminate}MainApplication(), and more ApplicationDelegate conversion. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebased Created 4 years, 7 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 | « mojo/environment/scoped_chromium_init.cc ('k') | mojo/public/cpp/application/run_application.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/application/lib/run_application.cc
diff --git a/mojo/public/cpp/application/lib/run_application.cc b/mojo/public/cpp/application/lib/run_application.cc
index 570736af6e9997a56945ea6494e16e13c40e625a..4848b4e0429df1f2375c7dfd0d3b866e508d848e 100644
--- a/mojo/public/cpp/application/lib/run_application.cc
+++ b/mojo/public/cpp/application/lib/run_application.cc
@@ -60,12 +60,6 @@ void SetCurrentResultHolder(ResultHolder* result_holder) {
} // namespace
-MojoResult RunMainApplication(MojoHandle application_request_handle,
- ApplicationImplBase* application_impl,
- const RunApplicationOptions* options) {
- return RunApplication(application_request_handle, application_impl, options);
-}
-
MojoResult RunApplication(MojoHandle application_request_handle,
ApplicationImplBase* application_impl,
const RunApplicationOptions* options) {
@@ -92,10 +86,6 @@ MojoResult RunApplication(MojoHandle application_request_handle,
return result_holder.result;
}
-void TerminateMainApplication(MojoResult result) {
- TerminateApplication(result);
-}
-
void TerminateApplication(MojoResult result) {
RunLoop::current()->Quit();
« no previous file with comments | « mojo/environment/scoped_chromium_init.cc ('k') | mojo/public/cpp/application/run_application.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698