Index: mojo/public/cpp/application/lib/service_connector_registry.h |
diff --git a/mojo/public/cpp/application/lib/service_connector_registry.h b/mojo/public/cpp/application/lib/service_connector_registry.h |
index b66d379d5f4921703f9fcd68bf87b7d9f6e0b714..235d34d5bd9a062a07b4bde1146546b7b3973282 100644 |
--- a/mojo/public/cpp/application/lib/service_connector_registry.h |
+++ b/mojo/public/cpp/application/lib/service_connector_registry.h |
@@ -13,7 +13,7 @@ |
namespace mojo { |
-class ApplicationConnection; |
+struct ConnectionContext; |
class ServiceConnector; |
namespace internal { |
@@ -40,7 +40,7 @@ class ServiceConnectorRegistry { |
// |interface_name|. In that case, the |client_handle| is passed along |
// to the |ServiceConnector|. Otherwise, this function returns false and |
// |client_handle| is untouched. |
- bool ConnectToService(ApplicationConnection* application_connection, |
+ bool ConnectToService(const ConnectionContext& connection_context, |
const std::string& interface_name, |
ScopedMessagePipeHandle* client_handle); |