Index: services/shell/public/cpp/lib/connector_impl.cc |
diff --git a/services/shell/public/cpp/lib/connector_impl.cc b/services/shell/public/cpp/lib/connector_impl.cc |
index f7faf9681d045146243773c494307a83da0c6d8e..f464137ef78f51a4aefce74e5c39c19a7c95f82b 100644 |
--- a/services/shell/public/cpp/lib/connector_impl.cc |
+++ b/services/shell/public/cpp/lib/connector_impl.cc |
@@ -48,14 +48,10 @@ std::unique_ptr<Connection> ConnectorImpl::Connect(ConnectParams* params) { |
DCHECK(thread_checker_.CalledOnValidThread()); |
DCHECK(params); |
- // We allow all interfaces on outgoing connections since we are presumably in |
- // a position to know who we're talking to. |
- CapabilityRequest request; |
- request.interfaces.insert("*"); |
mojom::InterfaceProviderPtr remote_interfaces; |
mojom::InterfaceProviderRequest remote_request = GetProxy(&remote_interfaces); |
std::unique_ptr<internal::ConnectionImpl> connection( |
- new internal::ConnectionImpl(params->target(), request, |
+ new internal::ConnectionImpl(params->target(), |
Connection::State::PENDING)); |
if (params->remote_interfaces()) { |
params->remote_interfaces()->Bind(std::move(remote_interfaces)); |