| 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..f84f8402f1f70025fb2fd62147f8e331b908f427 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:
|
| @@ -41,6 +41,7 @@ class WebSocketImpl : public InterfaceImpl<WebSocket> {
|
| uint32_t num_bytes,
|
| const char* data);
|
|
|
| + StrongBinding<WebSocket> binding_;
|
| // The channel we use to send events to the network.
|
| scoped_ptr<net::WebSocketChannel> channel_;
|
| ScopedDataPipeConsumerHandle send_stream_;
|
|
|