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

Unified Diff: services/shell/public/cpp/lib/interface_factory_binder.h

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
Index: services/shell/public/cpp/lib/interface_factory_binder.h
diff --git a/services/shell/public/cpp/lib/interface_factory_binder.h b/services/shell/public/cpp/lib/interface_factory_binder.h
index bd97a7628257dd8cbcd6b7cea3dd2b11c829e82e..e5ff37be11856e34bb85483f1a7b35edc894ac9e 100644
--- a/services/shell/public/cpp/lib/interface_factory_binder.h
+++ b/services/shell/public/cpp/lib/interface_factory_binder.h
@@ -21,10 +21,10 @@ class InterfaceFactoryBinder : public InterfaceBinder {
: factory_(factory) {}
~InterfaceFactoryBinder() override {}
- void BindInterface(Connection* connection,
+ void BindInterface(const Identity& remote_identity,
const std::string& interface_name,
mojo::ScopedMessagePipeHandle client_handle) override {
- factory_->Create(connection,
+ factory_->Create(remote_identity,
mojo::MakeRequest<Interface>(std::move(client_handle)));
}
« no previous file with comments | « services/shell/public/cpp/lib/callback_binder.cc ('k') | services/shell/public/cpp/lib/interface_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698