OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 NET_UDP_UDP_SOCKET_LIBEVENT_H_ | 5 #ifndef NET_UDP_UDP_SOCKET_LIBEVENT_H_ |
6 #define NET_UDP_UDP_SOCKET_LIBEVENT_H_ | 6 #define NET_UDP_UDP_SOCKET_LIBEVENT_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/message_loop.h" | 11 #include "base/message_loop.h" |
12 #include "base/threading/non_thread_safe.h" | 12 #include "base/threading/non_thread_safe.h" |
13 #include "net/base/address_list_net_log_param.h" | |
14 #include "net/base/completion_callback.h" | 13 #include "net/base/completion_callback.h" |
15 #include "net/base/net_export.h" | 14 #include "net/base/net_export.h" |
16 #include "net/base/rand_callback.h" | 15 #include "net/base/rand_callback.h" |
17 #include "net/base/io_buffer.h" | 16 #include "net/base/io_buffer.h" |
18 #include "net/base/ip_endpoint.h" | 17 #include "net/base/ip_endpoint.h" |
19 #include "net/base/net_log.h" | 18 #include "net/base/net_log.h" |
20 #include "net/udp/datagram_socket.h" | 19 #include "net/udp/datagram_socket.h" |
21 | 20 |
22 namespace net { | 21 namespace net { |
23 | 22 |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 CompletionCallback write_callback_; | 215 CompletionCallback write_callback_; |
217 | 216 |
218 BoundNetLog net_log_; | 217 BoundNetLog net_log_; |
219 | 218 |
220 DISALLOW_COPY_AND_ASSIGN(UDPSocketLibevent); | 219 DISALLOW_COPY_AND_ASSIGN(UDPSocketLibevent); |
221 }; | 220 }; |
222 | 221 |
223 } // namespace net | 222 } // namespace net |
224 | 223 |
225 #endif // NET_UDP_UDP_SOCKET_LIBEVENT_H_ | 224 #endif // NET_UDP_UDP_SOCKET_LIBEVENT_H_ |
OLD | NEW |