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

Side by Side Diff: mojo/services/network/udp_socket_impl.h

Issue 1227373002: Roll mojo SDK to 734c6e1652ff2f3b696e441722838f453f4f9b42 (Closed) Base URL: https://github.com/domokit/monet.git@master
Patch Set: Follow review Created 5 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MOJO_SERVICES_NETWORK_UDP_SOCKET_IMPL_H_ 5 #ifndef MOJO_SERVICES_NETWORK_UDP_SOCKET_IMPL_H_
6 #define MOJO_SERVICES_NETWORK_UDP_SOCKET_IMPL_H_ 6 #define MOJO_SERVICES_NETWORK_UDP_SOCKET_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "mojo/services/network/public/interfaces/udp_socket.mojom.h" 12 #include "mojo/services/network/public/interfaces/udp_socket.mojom.h"
13 #include "net/base/ip_endpoint.h" 13 #include "net/base/ip_endpoint.h"
14 #include "net/udp/udp_socket.h" 14 #include "net/udp/udp_socket.h"
15 #include "third_party/mojo/src/mojo/public/cpp/bindings/interface_impl.h"
16 #include "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.h" 15 #include "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.h"
17 16
18 namespace net { 17 namespace net {
19 class IOBuffer; 18 class IOBuffer;
20 class IOBufferWithSize; 19 class IOBufferWithSize;
21 } 20 }
22 21
23 namespace mojo { 22 namespace mojo {
24 23
25 class UDPSocketImpl : public UDPSocket { 24 class UDPSocketImpl : public UDPSocket {
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 std::deque<PendingSendRequest*> pending_send_requests_; 117 std::deque<PendingSendRequest*> pending_send_requests_;
119 // The maximum size of the |pending_send_requests_| queue. 118 // The maximum size of the |pending_send_requests_| queue.
120 size_t max_pending_send_requests_; 119 size_t max_pending_send_requests_;
121 120
122 DISALLOW_COPY_AND_ASSIGN(UDPSocketImpl); 121 DISALLOW_COPY_AND_ASSIGN(UDPSocketImpl);
123 }; 122 };
124 123
125 } // namespace mojo 124 } // namespace mojo
126 125
127 #endif // MOJO_SERVICES_NETWORK_UDP_SOCKET_IMPL_H_ 126 #endif // MOJO_SERVICES_NETWORK_UDP_SOCKET_IMPL_H_
OLDNEW
« no previous file with comments | « mojo/services/network/tcp_server_socket_impl.cc ('k') | mojo/services/network/url_loader_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698