| 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..46854096dbb17910004d23d43498fb392dc0ed26 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();
|
| + explicit TCPBoundSocketImpl(InterfaceRequest<TCPBoundSocket> request);
|
| ~TCPBoundSocketImpl() override;
|
|
|
| // Does the actual binding. Returns a net error code. On net::OK, the bound
|
| @@ -38,6 +38,7 @@ class TCPBoundSocketImpl : public InterfaceImpl<TCPBoundSocket> {
|
| private:
|
| void OnConnected(int result);
|
|
|
| + StrongBinding<TCPBoundSocket> binding_;
|
| scoped_ptr<net::TCPSocket> socket_;
|
|
|
| // Valid when waiting for a connect callback.
|
|
|