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

Unified Diff: services/shell/tests/shutdown/shutdown_client_app.cc

Issue 2192263002: MojoMain() -> ServiceMain() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/shell/tests/lifecycle/parent.cc ('k') | services/shell/tests/shutdown/shutdown_service_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/tests/shutdown/shutdown_client_app.cc
diff --git a/services/shell/tests/shutdown/shutdown_client_app.cc b/services/shell/tests/shutdown/shutdown_client_app.cc
index 5b3cc4146114529394c0b07f4f72ffbe475bb9ad..102fb2b85305bd8cb31b60ea6a62cb2611740085 100644
--- a/services/shell/tests/shutdown/shutdown_client_app.cc
+++ b/services/shell/tests/shutdown/shutdown_client_app.cc
@@ -4,8 +4,8 @@
#include "base/macros.h"
#include "base/run_loop.h"
-#include "mojo/public/c/system/main.h"
#include "mojo/public/cpp/bindings/binding_set.h"
+#include "services/shell/public/c/main.h"
#include "services/shell/public/cpp/connector.h"
#include "services/shell/public/cpp/interface_factory.h"
#include "services/shell/public/cpp/service.h"
@@ -66,7 +66,7 @@ class ShutdownClientApp
} // namespace shell
-MojoResult MojoMain(MojoHandle shell_handle) {
- return shell::ServiceRunner(new shell::ShutdownClientApp)
- .Run(shell_handle);
+MojoResult ServiceMain(MojoHandle service_request_handle) {
+ shell::ServiceRunner runner(new shell::ShutdownClientApp);
+ return runner.Run(service_request_handle);
}
« no previous file with comments | « services/shell/tests/lifecycle/parent.cc ('k') | services/shell/tests/shutdown/shutdown_service_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698