Chromium Code Reviews| Index: mojo/services/network/tcp_bound_socket_impl.h |
| diff --git a/mojo/services/network/tcp_bound_socket_impl.h b/mojo/services/network/tcp_bound_socket_impl.h |
| index e5e1b6c251a783d4559d5a94eb3eff34bd686756..914cc2a8d9bec9ebd065d0c8abb6d42a9afec3bb 100644 |
| --- a/mojo/services/network/tcp_bound_socket_impl.h |
| +++ b/mojo/services/network/tcp_bound_socket_impl.h |
| @@ -8,13 +8,13 @@ |
| #include "base/memory/scoped_ptr.h" |
| #include "mojo/services/network/public/interfaces/tcp_bound_socket.mojom.h" |
| #include "net/socket/tcp_socket.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 mojo { |
| -class TCPBoundSocketImpl : public InterfaceImpl<TCPBoundSocket> { |
| +class TCPBoundSocketImpl : public TCPBoundSocket { |
| public: |
| - TCPBoundSocketImpl(); |
| + TCPBoundSocketImpl(InterfaceRequest<TCPBoundSocket> request); |
|
viettrungluu
2015/07/09 16:41:52
explicit
qsr
2015/07/10 07:53:17
Done.
|
| ~TCPBoundSocketImpl() override; |
| // Does the actual binding. Returns a net error code. On net::OK, the bound |
| @@ -45,6 +45,7 @@ class TCPBoundSocketImpl : public InterfaceImpl<TCPBoundSocket> { |
| ScopedDataPipeProducerHandle pending_connect_receive_stream_; |
| InterfaceRequest<TCPConnectedSocket> pending_connect_socket_; |
| Callback<void(NetworkErrorPtr)> pending_connect_callback_; |
| + StrongBinding<TCPBoundSocket> binding_; |
| }; |
| } // namespace mojo |