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

Unified Diff: services/ui/ime/test_ime_driver/test_ime_application.cc

Issue 2487573002: Service Manager: Remove ServiceContext* arg from Service::OnStart() (Closed)
Patch Set: rebase Created 4 years, 1 month 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/ime/test_ime_driver/test_ime_application.h ('k') | services/ui/service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ime/test_ime_driver/test_ime_application.cc
diff --git a/services/ui/ime/test_ime_driver/test_ime_application.cc b/services/ui/ime/test_ime_driver/test_ime_application.cc
index d84e4481fd0d442a47aec2cda02e6ded842f8f88..19a3f88724a17f0f0622e54aa35d56e32f00ef0a 100644
--- a/services/ui/ime/test_ime_driver/test_ime_application.cc
+++ b/services/ui/ime/test_ime_driver/test_ime_application.cc
@@ -17,13 +17,13 @@ TestIMEApplication::TestIMEApplication() {}
TestIMEApplication::~TestIMEApplication() {}
-void TestIMEApplication::OnStart(service_manager::ServiceContext* context) {
+void TestIMEApplication::OnStart() {
mojom::IMEDriverPtr ime_driver_ptr;
mojo::MakeStrongBinding(base::MakeUnique<TestIMEDriver>(),
GetProxy(&ime_driver_ptr));
ui::mojom::IMERegistrarPtr ime_registrar;
- context->connector()->ConnectToInterface("service:ui", &ime_registrar);
+ context()->connector()->ConnectToInterface("service:ui", &ime_registrar);
ime_registrar->RegisterDriver(std::move(ime_driver_ptr));
}
« no previous file with comments | « services/ui/ime/test_ime_driver/test_ime_application.h ('k') | services/ui/service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698