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

Unified Diff: services/ui/test_ime/main.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/ui/service.cc ('k') | services/ui/test_wm/test_wm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/test_ime/main.cc
diff --git a/services/ui/test_ime/main.cc b/services/ui/test_ime/main.cc
index b229b34824ed755d0293fdabd71a2bfa9e9dfc49..f52f6206bf371f6891182b58a36220b136b8ab37 100644
--- a/services/ui/test_ime/main.cc
+++ b/services/ui/test_ime/main.cc
@@ -2,7 +2,7 @@
// 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/connector.h"
#include "services/shell/public/cpp/service.h"
#include "services/shell/public/cpp/service_runner.h"
@@ -39,7 +39,7 @@ class TestIME : public shell::Service,
} // namespace test
} // namespace ui
-MojoResult MojoMain(MojoHandle shell_handle) {
+MojoResult ServiceMain(MojoHandle service_request_handle) {
shell::ServiceRunner runner(new ui::test::TestIME);
- return runner.Run(shell_handle);
+ return runner.Run(service_request_handle);
}
« no previous file with comments | « services/ui/service.cc ('k') | services/ui/test_wm/test_wm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698