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

Unified Diff: services/authentication/main.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 | « services/authenticating_url_loader_interceptor/main.cc ('k') | services/clipboard/main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/authentication/main.cc
diff --git a/services/authentication/main.cc b/services/authentication/main.cc
index 331d3066b58a6dc0f56426d876f5560aa2f70e6f..f8763e2356c603b0b5cc98a3a17f5f1e4adbf5a2 100644
--- a/services/authentication/main.cc
+++ b/services/authentication/main.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "mojo/common/binding_set.h"
+#include "mojo/environment/scoped_chromium_init.h"
#include "mojo/public/c/system/main.h"
#include "mojo/public/cpp/application/application_impl_base.h"
#include "mojo/public/cpp/application/connect.h"
@@ -56,7 +57,7 @@ class GoogleAccountManagerApp : public mojo::ApplicationImplBase {
} // namespace authentication
MojoResult MojoMain(MojoHandle application_request) {
+ mojo::ScopedChromiumInit init;
authentication::GoogleAccountManagerApp google_account_manager_app;
- return mojo::RunMainApplication(application_request,
- &google_account_manager_app);
+ return mojo::RunApplication(application_request, &google_account_manager_app);
}
« no previous file with comments | « services/authenticating_url_loader_interceptor/main.cc ('k') | services/clipboard/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698