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

Unified Diff: services/shell/tests/connect/connect_test_app.cc

Issue 2182643003: Remove shell::Connection* parameter to InterfaceFactory<T>::Create() (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/shell/service_manager.cc ('k') | services/shell/tests/connect/connect_test_class_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/tests/connect/connect_test_app.cc
diff --git a/services/shell/tests/connect/connect_test_app.cc b/services/shell/tests/connect/connect_test_app.cc
index 2a081d77a462ac56334e3c5e824cd7f6b2b3dcc6..b93d3fe7389dc490ce496300ac35b59bfb78e14c 100644
--- a/services/shell/tests/connect/connect_test_app.cc
+++ b/services/shell/tests/connect/connect_test_app.cc
@@ -86,25 +86,25 @@ class ConnectTestApp : public Service,
}
// InterfaceFactory<test::mojom::ConnectTestService>:
- void Create(Connection* connection,
+ void Create(const Identity& remote_identity,
test::mojom::ConnectTestServiceRequest request) override {
bindings_.AddBinding(this, std::move(request));
}
// InterfaceFactory<test::mojom::StandaloneApp>:
- void Create(Connection* connection,
+ void Create(const Identity& remote_identity,
test::mojom::StandaloneAppRequest request) override {
standalone_bindings_.AddBinding(this, std::move(request));
}
// InterfaceFactory<test::mojom::BlockedInterface>:
- void Create(Connection* connection,
+ void Create(const Identity& remote_identity,
test::mojom::BlockedInterfaceRequest request) override {
blocked_bindings_.AddBinding(this, std::move(request));
}
// InterfaceFactory<test::mojom::UserIdTest>:
- void Create(Connection* connection,
+ void Create(const Identity& remote_identity,
test::mojom::UserIdTestRequest request) override {
user_id_test_bindings_.AddBinding(this, std::move(request));
}
« no previous file with comments | « services/shell/service_manager.cc ('k') | services/shell/tests/connect/connect_test_class_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698