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

Unified Diff: services/shell/tests/lifecycle/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
« no previous file with comments | « services/shell/tests/lifecycle/app.cc ('k') | services/shell/tests/lifecycle/parent.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/tests/lifecycle/package.cc
diff --git a/services/shell/tests/lifecycle/package.cc b/services/shell/tests/lifecycle/package.cc
index fb409e2e67624f51f649a2f014993010ddf97e95..f2fdf9c5db2609894b0d328d346577e3475f2538 100644
--- a/services/shell/tests/lifecycle/package.cc
+++ b/services/shell/tests/lifecycle/package.cc
@@ -7,8 +7,8 @@
#include "base/bind.h"
#include "base/macros.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/service_context.h"
#include "services/shell/public/cpp/service_runner.h"
#include "services/shell/public/interfaces/service_factory.mojom.h"
@@ -145,9 +145,9 @@ class Package
} // namespace
-MojoResult MojoMain(MojoHandle shell_handle) {
+MojoResult ServiceMain(MojoHandle service_request_handle) {
Package* package = new Package;
shell::ServiceRunner runner(package);
package->set_runner(&runner);
- return runner.Run(shell_handle);
+ return runner.Run(service_request_handle);
}
« no previous file with comments | « services/shell/tests/lifecycle/app.cc ('k') | services/shell/tests/lifecycle/parent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698