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

Side by Side Diff: net/socket/udp_socket_win.h

Issue 2508593002: net: move udp directory into socket (Closed)
Patch Set: revert sys/socket.h change Created 4 years, 1 month 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
« no previous file with comments | « net/socket/udp_socket_unittest.cc ('k') | net/socket/udp_socket_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_WIN_H_ 5 #ifndef NET_SOCKET_UDP_SOCKET_WIN_H_
6 #define NET_UDP_UDP_SOCKET_WIN_H_ 6 #define NET_SOCKET_UDP_SOCKET_WIN_H_
7 7
8 #include <qos2.h> 8 #include <qos2.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 #include <winsock2.h> 10 #include <winsock2.h>
11 11
12 #include <memory> 12 #include <memory>
13 13
14 #include "base/gtest_prod_util.h" 14 #include "base/gtest_prod_util.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/memory/ref_counted.h" 16 #include "base/memory/ref_counted.h"
17 #include "base/threading/non_thread_safe.h" 17 #include "base/threading/non_thread_safe.h"
18 #include "base/win/object_watcher.h" 18 #include "base/win/object_watcher.h"
19 #include "base/win/scoped_handle.h" 19 #include "base/win/scoped_handle.h"
20 #include "net/base/address_family.h" 20 #include "net/base/address_family.h"
21 #include "net/base/completion_callback.h" 21 #include "net/base/completion_callback.h"
22 #include "net/base/io_buffer.h" 22 #include "net/base/io_buffer.h"
23 #include "net/base/ip_endpoint.h" 23 #include "net/base/ip_endpoint.h"
24 #include "net/base/net_export.h" 24 #include "net/base/net_export.h"
25 #include "net/base/network_change_notifier.h" 25 #include "net/base/network_change_notifier.h"
26 #include "net/base/rand_callback.h" 26 #include "net/base/rand_callback.h"
27 #include "net/log/net_log_with_source.h" 27 #include "net/log/net_log_with_source.h"
28 #include "net/udp/datagram_socket.h" 28 #include "net/socket/datagram_socket.h"
29 #include "net/udp/diff_serv_code_point.h" 29 #include "net/socket/diff_serv_code_point.h"
30 30
31 namespace net { 31 namespace net {
32 32
33 class IPAddress; 33 class IPAddress;
34 class NetLog; 34 class NetLog;
35 struct NetLogSource; 35 struct NetLogSource;
36 36
37 class NET_EXPORT UDPSocketWin 37 class NET_EXPORT UDPSocketWin
38 : NON_EXPORTED_BASE(public base::NonThreadSafe), 38 : NON_EXPORTED_BASE(public base::NonThreadSafe),
39 NON_EXPORTED_BASE(public base::win::ObjectWatcher::Delegate) { 39 NON_EXPORTED_BASE(public base::win::ObjectWatcher::Delegate) {
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 RemoveSocketFromFlowFn remove_socket_from_flow_func_; 380 RemoveSocketFromFlowFn remove_socket_from_flow_func_;
381 SetFlowFn set_flow_func_; 381 SetFlowFn set_flow_func_;
382 382
383 FRIEND_TEST_ALL_PREFIXES(UDPSocketTest, SetDSCPFake); 383 FRIEND_TEST_ALL_PREFIXES(UDPSocketTest, SetDSCPFake);
384 DISALLOW_COPY_AND_ASSIGN(QwaveAPI); 384 DISALLOW_COPY_AND_ASSIGN(QwaveAPI);
385 }; 385 };
386 386
387 387
388 } // namespace net 388 } // namespace net
389 389
390 #endif // NET_UDP_UDP_SOCKET_WIN_H_ 390 #endif // NET_SOCKET_UDP_SOCKET_WIN_H_
OLDNEW
« no previous file with comments | « net/socket/udp_socket_unittest.cc ('k') | net/socket/udp_socket_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698