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

Unified Diff: services/ui/test_ime/main.cc

Issue 2215133002: Change signature of OnConnect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cleanup
Patch Set: . Created 4 years, 4 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/ws/window_tree_client_unittest.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 f52f6206bf371f6891182b58a36220b136b8ab37..db1f1a47d1fbd477b8ce0a50869c06542e8fe10d 100644
--- a/services/ui/test_ime/main.cc
+++ b/services/ui/test_ime/main.cc
@@ -20,8 +20,9 @@ class TestIME : public shell::Service,
private:
// shell::Service:
void OnStart(const shell::Identity& identity) override {}
- bool OnConnect(shell::Connection* connection) override {
- connection->AddInterface<mojom::IMEDriver>(this);
+ bool OnConnect(const shell::Identity& remote_identity,
+ shell::InterfaceRegistry* registry) override {
+ registry->AddInterface<mojom::IMEDriver>(this);
return true;
}
« no previous file with comments | « services/ui/service.cc ('k') | services/ui/ws/window_tree_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698