Index: mojo/services/network/network_service_impl.h |
diff --git a/mojo/services/network/network_service_impl.h b/mojo/services/network/network_service_impl.h |
index 3a7ac236a9e74a8bd6bf1f79e3e152c27f19c6c9..41dd4b9285e7c2e8edfe47c22f3ccad111ee65d2 100644 |
--- a/mojo/services/network/network_service_impl.h |
+++ b/mojo/services/network/network_service_impl.h |
@@ -8,16 +8,17 @@ |
#include "base/compiler_specific.h" |
#include "mojo/common/weak_interface_ptr_set.h" |
#include "mojo/services/network/public/interfaces/network_service.mojom.h" |
-#include "third_party/mojo/src/mojo/public/cpp/bindings/interface_impl.h" |
+#include "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.h" |
#include "url/gurl.h" |
namespace mojo { |
class ApplicationConnection; |
class NetworkContext; |
-class NetworkServiceImpl : public InterfaceImpl<NetworkService> { |
+class NetworkServiceImpl : public NetworkService { |
public: |
- NetworkServiceImpl(ApplicationConnection* connection, |
+ NetworkServiceImpl(InterfaceRequest<NetworkService> request, |
+ ApplicationConnection* connection, |
NetworkContext* context); |
~NetworkServiceImpl() override; |
@@ -49,6 +50,7 @@ class NetworkServiceImpl : public InterfaceImpl<NetworkService> { |
GURL origin_; |
WeakInterfacePtrSet<URLLoaderInterceptorFactory> |
url_loader_interceptor_factories_; |
+ StrongBinding<NetworkService> binding_; |
}; |
} // namespace mojo |