| Index: mojo/services/network/web_socket_impl.h
|
| diff --git a/mojo/services/network/web_socket_impl.h b/mojo/services/network/web_socket_impl.h
|
| index bb41104044d4a3be474a4aae7e9d51625bafcd5b..bc781d04e20609dcd23f9e03097f3f5fb5930d4d 100644
|
| --- a/mojo/services/network/web_socket_impl.h
|
| +++ b/mojo/services/network/web_socket_impl.h
|
| @@ -7,7 +7,7 @@
|
|
|
| #include "base/memory/scoped_ptr.h"
|
| #include "mojo/services/network/public/interfaces/web_socket.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"
|
|
|
| namespace net {
|
| class WebSocketChannel;
|
| @@ -19,9 +19,9 @@ class WebSocketReadQueue;
|
|
|
| // Forms a bridge between the WebSocket mojo interface and the net::WebSocket
|
| // implementation.
|
| -class WebSocketImpl : public InterfaceImpl<WebSocket> {
|
| +class WebSocketImpl : public WebSocket {
|
| public:
|
| - explicit WebSocketImpl(NetworkContext* context);
|
| + WebSocketImpl(InterfaceRequest<WebSocket> request, NetworkContext* context);
|
| ~WebSocketImpl() override;
|
|
|
| private:
|
| @@ -46,6 +46,7 @@ class WebSocketImpl : public InterfaceImpl<WebSocket> {
|
| ScopedDataPipeConsumerHandle send_stream_;
|
| scoped_ptr<WebSocketReadQueue> read_queue_;
|
| NetworkContext* context_;
|
| + StrongBinding<WebSocket> binding_;
|
| };
|
|
|
| } // namespace mojo
|
|
|