Index: mojo/public/cpp/application/service_connector.h |
diff --git a/mojo/public/cpp/application/service_connector.h b/mojo/public/cpp/application/service_connector.h |
index 6dd6c86ae46fdabdd927db7315523bdf0aea9ee3..378be9e25028079edd8e3ed87d6f36f24c7eda98 100644 |
--- a/mojo/public/cpp/application/service_connector.h |
+++ b/mojo/public/cpp/application/service_connector.h |
@@ -11,7 +11,7 @@ |
namespace mojo { |
-class ApplicationConnection; |
+struct ConnectionContext; |
class ServiceConnector { |
public: |
@@ -20,7 +20,7 @@ class ServiceConnector { |
// Asks the ServiceConnector to connect to the specified service. If the |
// ServiceConnector connects to the service it should take ownership of |
// the handle in |handle|. |
- virtual void ConnectToService(ApplicationConnection* application_connection, |
+ virtual void ConnectToService(const ConnectionContext& connection_context, |
const std::string& interface_name, |
ScopedMessagePipeHandle handle) = 0; |
}; |