OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_SOCKET_TCP_SOCKET_WIN_H_ | 5 #ifndef NET_SOCKET_TCP_SOCKET_WIN_H_ |
6 #define NET_SOCKET_TCP_SOCKET_WIN_H_ | 6 #define NET_SOCKET_TCP_SOCKET_WIN_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 #include <winsock2.h> | 9 #include <winsock2.h> |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/threading/non_thread_safe.h" | 15 #include "base/threading/non_thread_safe.h" |
16 #include "base/win/object_watcher.h" | 16 #include "base/win/object_watcher.h" |
17 #include "net/base/address_family.h" | 17 #include "net/base/address_family.h" |
18 #include "net/base/completion_callback.h" | 18 #include "net/base/completion_callback.h" |
19 #include "net/base/net_export.h" | 19 #include "net/base/net_export.h" |
20 #include "net/base/socket_performance_watcher.h" | |
21 #include "net/log/net_log.h" | 20 #include "net/log/net_log.h" |
| 21 #include "net/socket/socket_performance_watcher.h" |
22 | 22 |
23 namespace net { | 23 namespace net { |
24 | 24 |
25 class AddressList; | 25 class AddressList; |
26 class IOBuffer; | 26 class IOBuffer; |
27 class IPEndPoint; | 27 class IPEndPoint; |
28 | 28 |
29 class NET_EXPORT TCPSocketWin : NON_EXPORTED_BASE(public base::NonThreadSafe), | 29 class NET_EXPORT TCPSocketWin : NON_EXPORTED_BASE(public base::NonThreadSafe), |
30 public base::win::ObjectWatcher::Delegate { | 30 public base::win::ObjectWatcher::Delegate { |
31 public: | 31 public: |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 bool logging_multiple_connect_attempts_; | 164 bool logging_multiple_connect_attempts_; |
165 | 165 |
166 BoundNetLog net_log_; | 166 BoundNetLog net_log_; |
167 | 167 |
168 DISALLOW_COPY_AND_ASSIGN(TCPSocketWin); | 168 DISALLOW_COPY_AND_ASSIGN(TCPSocketWin); |
169 }; | 169 }; |
170 | 170 |
171 } // namespace net | 171 } // namespace net |
172 | 172 |
173 #endif // NET_SOCKET_TCP_SOCKET_WIN_H_ | 173 #endif // NET_SOCKET_TCP_SOCKET_WIN_H_ |
OLD | NEW |