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

Unified Diff: services/shell/tests/connect/connect_test_package.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
Index: services/shell/tests/connect/connect_test_package.cc
diff --git a/services/shell/tests/connect/connect_test_package.cc b/services/shell/tests/connect/connect_test_package.cc
index 21094a5bc437d7f67a79a6666a130e79409d89fc..2dbcff3f602fb1791ca9ca1e6f8ba55f6d8de829 100644
--- a/services/shell/tests/connect/connect_test_package.cc
+++ b/services/shell/tests/connect/connect_test_package.cc
@@ -13,8 +13,8 @@
#include "base/message_loop/message_loop.h"
#include "base/run_loop.h"
#include "base/threading/simple_thread.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"
@@ -226,8 +226,7 @@ class ConnectTestService
} // namespace shell
-MojoResult MojoMain(MojoHandle shell_handle) {
- MojoResult rv = shell::ServiceRunner(new shell::ConnectTestService)
- .Run(shell_handle);
- return rv;
+MojoResult ServiceMain(MojoHandle service_request_handle) {
+ shell::ServiceRunner runner(new shell::ConnectTestService);
+ return runner.Run(service_request_handle);
}
« no previous file with comments | « services/shell/tests/connect/connect_test_class_app.cc ('k') | services/shell/tests/connect/connect_test_singleton_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698