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); |
} |