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

Unified Diff: services/shell/tests/lifecycle/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
Index: services/shell/tests/lifecycle/app.cc
diff --git a/services/shell/tests/lifecycle/app.cc b/services/shell/tests/lifecycle/app.cc
index cbee0f8651ea7bca9c13a921db784b96905f425f..2b981922d1ec2555eaa26bac671b1d6caa4dc1b2 100644
--- a/services/shell/tests/lifecycle/app.cc
+++ b/services/shell/tests/lifecycle/app.cc
@@ -2,13 +2,13 @@
// 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 "services/shell/public/c/main.h"
#include "services/shell/public/cpp/service_runner.h"
#include "services/shell/tests/lifecycle/app_client.h"
-MojoResult MojoMain(MojoHandle shell_handle) {
+MojoResult ServiceMain(MojoHandle service_request_handle) {
shell::test::AppClient* app = new shell::test::AppClient;
shell::ServiceRunner runner(app);
app->set_runner(&runner);
- return runner.Run(shell_handle);
+ return runner.Run(service_request_handle);
}
« no previous file with comments | « services/shell/tests/connect/connect_test_singleton_app.cc ('k') | services/shell/tests/lifecycle/package.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698