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