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

Unified Diff: services/shell/tests/shell/shell_unittest.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/shell/tests/shell/driver.cc ('k') | services/shell/tests/shutdown/shutdown_client_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/tests/shell/shell_unittest.cc
diff --git a/services/shell/tests/shell/shell_unittest.cc b/services/shell/tests/shell/shell_unittest.cc
index edb559907995d30ca135acb67c77c2c42de4a635..19f61266426d6f4228c7dea07d79282e353374f6 100644
--- a/services/shell/tests/shell/shell_unittest.cc
+++ b/services/shell/tests/shell/shell_unittest.cc
@@ -39,8 +39,9 @@ class ShellTestClient
private:
// test::ServiceTestClient:
- bool OnConnect(Connection* connection) override {
- connection->AddInterface<test::mojom::CreateInstanceTest>(this);
+ bool OnConnect(const Identity& remote_identity,
+ InterfaceRegistry* registry) override {
+ registry->AddInterface<test::mojom::CreateInstanceTest>(this);
return true;
}
« no previous file with comments | « services/shell/tests/shell/driver.cc ('k') | services/shell/tests/shutdown/shutdown_client_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698