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

Unified Diff: services/shell/background/tests/test_service.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 | « mojo/public/cpp/bindings/tests/versioning_test_service.cc ('k') | services/shell/public/c/main.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/background/tests/test_service.cc
diff --git a/services/shell/background/tests/test_service.cc b/services/shell/background/tests/test_service.cc
index 32f9ff531ea0692640c9193177911c46d98956c5..9575e1ab688d89ed9fe158a096c4837534db2a7b 100644
--- a/services/shell/background/tests/test_service.cc
+++ b/services/shell/background/tests/test_service.cc
@@ -2,9 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "mojo/public/c/system/main.h"
#include "mojo/public/cpp/bindings/binding_set.h"
#include "services/shell/background/tests/test.mojom.h"
+#include "services/shell/public/c/main.h"
#include "services/shell/public/cpp/connection.h"
#include "services/shell/public/cpp/service.h"
#include "services/shell/public/cpp/service_runner.h"
@@ -46,7 +46,7 @@ class TestClient : public Service,
} // namespace shell
-MojoResult MojoMain(MojoHandle shell_handle) {
+MojoResult ServiceMain(MojoHandle service_request_handle) {
shell::ServiceRunner runner(new shell::TestClient);
- return runner.Run(shell_handle);
+ return runner.Run(service_request_handle);
}
« no previous file with comments | « mojo/public/cpp/bindings/tests/versioning_test_service.cc ('k') | services/shell/public/c/main.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698