Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(286)

Unified Diff: mojo/services/network/tcp_bound_socket_impl.h

Issue 1725353003: Eliminate mojo::Shell client lib class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@15connector
Patch Set: . Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/services/network/network_service_impl.cc ('k') | mojo/services/network/tcp_bound_socket_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5cb256ed86ada929c284258170b94bbc0f6cb24a..8e4b2e8821b64e6d53dd668620c495dea0425fe0 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_;
};
« no previous file with comments | « mojo/services/network/network_service_impl.cc ('k') | mojo/services/network/tcp_bound_socket_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698