diff options
Diffstat (limited to 'mojo/services/network/tcp_bound_socket_impl.h')
-rw-r--r-- | mojo/services/network/tcp_bound_socket_impl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mojo/services/network/tcp_bound_socket_impl.h b/mojo/services/network/tcp_bound_socket_impl.h index 5cb256e..8e4b2e8 100644 --- a/mojo/services/network/tcp_bound_socket_impl.h +++ b/mojo/services/network/tcp_bound_socket_impl.h @@ -8,14 +8,14 @@ #include "base/memory/scoped_ptr.h" #include "mojo/public/cpp/bindings/strong_binding.h" #include "mojo/services/network/public/interfaces/tcp_bound_socket.mojom.h" -#include "mojo/shell/public/cpp/shell.h" +#include "mojo/shell/public/cpp/message_loop_ref.h" #include "net/socket/tcp_socket.h" namespace mojo { class TCPBoundSocketImpl : public TCPBoundSocket { public: - TCPBoundSocketImpl(scoped_ptr<mojo::AppRefCount> app_refcount, + TCPBoundSocketImpl(scoped_ptr<mojo::MessageLoopRef> app_refcount, InterfaceRequest<TCPBoundSocket> request); ~TCPBoundSocketImpl() override; @@ -47,7 +47,7 @@ class TCPBoundSocketImpl : public TCPBoundSocket { ScopedDataPipeProducerHandle pending_connect_receive_stream_; InterfaceRequest<TCPConnectedSocket> pending_connect_socket_; Callback<void(NetworkErrorPtr)> pending_connect_callback_; - scoped_ptr<mojo::AppRefCount> app_refcount_; + scoped_ptr<mojo::MessageLoopRef> app_refcount_; StrongBinding<TCPBoundSocket> binding_; }; |