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

Unified Diff: services/shell/tests/connect/connect_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
Index: services/shell/tests/connect/connect_unittest.cc
diff --git a/services/shell/tests/connect/connect_unittest.cc b/services/shell/tests/connect/connect_unittest.cc
index a1108934373260a2585b1e8d0925e9014a1355b4..5c2401e6660e1ffcfe1ab6329211f342d0798106 100644
--- a/services/shell/tests/connect/connect_unittest.cc
+++ b/services/shell/tests/connect/connect_unittest.cc
@@ -107,8 +107,9 @@ class ConnectTest : public test::ServiceTest,
~TestService() override {}
private:
- bool OnConnect(Connection* connection) override {
- connection->AddInterface<test::mojom::ExposedInterface>(connect_test_);
+ bool OnConnect(const Identity& remote_identity,
+ InterfaceRegistry* registry) override {
+ registry->AddInterface<test::mojom::ExposedInterface>(connect_test_);
return true;
}
« no previous file with comments | « services/shell/tests/connect/connect_test_singleton_app.cc ('k') | services/shell/tests/lifecycle/app_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698