Index: mojo/public/cpp/application/interface_factory.h |
diff --git a/mojo/public/cpp/application/interface_factory.h b/mojo/public/cpp/application/interface_factory.h |
index da070080492b6898caa1ae77c06daaae7e28ced3..f459f6f9a8103b419ebb893a27c82eeb28db4c10 100644 |
--- a/mojo/public/cpp/application/interface_factory.h |
+++ b/mojo/public/cpp/application/interface_factory.h |
@@ -9,9 +9,7 @@ |
namespace mojo { |
-class ApplicationConnection; |
-template <typename Interface> |
-class InterfaceRequest; |
+struct ConnectionContext; |
// Implement this class to provide implementations of a given interface and |
// bind them to incoming requests. The implementation of this class is |
@@ -21,7 +19,7 @@ template <typename Interface> |
class InterfaceFactory { |
public: |
virtual ~InterfaceFactory() {} |
- virtual void Create(ApplicationConnection* connection, |
+ virtual void Create(const ConnectionContext& connection_context, |
InterfaceRequest<Interface> request) = 0; |
}; |