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

Unified Diff: mojo/services/network/udp_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/udp_socket_apptest.cc ('k') | mojo/services/network/udp_socket_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/network/udp_socket_impl.h
diff --git a/mojo/services/network/udp_socket_impl.h b/mojo/services/network/udp_socket_impl.h
index 459ba9dd1ce6b53a63658dad78efafcea5b4d3c0..6ea5770c62d1875689653e65b406ab83bb91e7ee 100644
--- a/mojo/services/network/udp_socket_impl.h
+++ b/mojo/services/network/udp_socket_impl.h
@@ -14,7 +14,7 @@
#include "base/memory/ref_counted.h"
#include "mojo/public/cpp/bindings/strong_binding.h"
#include "mojo/services/network/public/interfaces/udp_socket.mojom.h"
-#include "mojo/shell/public/cpp/shell.h"
+#include "mojo/shell/public/cpp/message_loop_ref.h"
#include "net/base/ip_endpoint.h"
#include "net/udp/udp_socket.h"
@@ -30,7 +30,7 @@ class UDPSocketImpl : public UDPSocket {
// The lifetime of a new UDPSocketImpl is bound to the connection associated
// with |request|.
UDPSocketImpl(InterfaceRequest<UDPSocket> request,
- scoped_ptr<mojo::AppRefCount> app_refcount);
+ scoped_ptr<mojo::MessageLoopRef> app_refcount);
~UDPSocketImpl() override;
// UDPSocket implementation.
@@ -123,7 +123,7 @@ class UDPSocketImpl : public UDPSocket {
// The maximum size of the |pending_send_requests_| queue.
size_t max_pending_send_requests_;
- scoped_ptr<mojo::AppRefCount> app_refcount_;
+ scoped_ptr<mojo::MessageLoopRef> app_refcount_;
DISALLOW_COPY_AND_ASSIGN(UDPSocketImpl);
};
« no previous file with comments | « mojo/services/network/udp_socket_apptest.cc ('k') | mojo/services/network/udp_socket_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698