Index: services/shell/public/cpp/interface_factory_impl.h |
diff --git a/services/shell/public/cpp/interface_factory_impl.h b/services/shell/public/cpp/interface_factory_impl.h |
index 7510a0843b92908c823a72d56eb9084aa659c975..4f5c7104b164325948e32231c45a51500b0981b4 100644 |
--- a/services/shell/public/cpp/interface_factory_impl.h |
+++ b/services/shell/public/cpp/interface_factory_impl.h |
@@ -17,7 +17,7 @@ class InterfaceFactoryImpl : public InterfaceFactory<Interface> { |
public: |
virtual ~InterfaceFactoryImpl() {} |
- virtual void Create(Connection* connection, |
+ virtual void Create(const Identity& remote_identity, |
mojo::InterfaceRequest<Interface> request) override { |
BindToRequest(new Impl(), &request); |
} |
@@ -35,7 +35,7 @@ class InterfaceFactoryImplWithContext : public InterfaceFactory<Interface> { |
: context_(context) {} |
virtual ~InterfaceFactoryImplWithContext() {} |
- virtual void Create(Connection* connection, |
+ virtual void Create(const Identity& remote_identity, |
mojo::InterfaceRequest<Interface> request) override { |
BindToRequest(new Impl(context_), &request); |
} |