| 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 <memory> | 11 #include <memory> |
| 12 | 12 |
| 13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 16 #include "base/threading/non_thread_safe.h" | 16 #include "base/threading/non_thread_safe.h" |
| 17 #include "base/win/object_watcher.h" | 17 #include "base/win/object_watcher.h" |
| 18 #include "net/base/address_family.h" | 18 #include "net/base/address_family.h" |
| 19 #include "net/base/completion_callback.h" | 19 #include "net/base/completion_callback.h" |
| 20 #include "net/base/net_export.h" | 20 #include "net/base/net_export.h" |
| 21 #include "net/base/socket_performance_watcher.h" | |
| 22 #include "net/log/net_log.h" | 21 #include "net/log/net_log.h" |
| 22 #include "net/socket/socket_performance_watcher.h" |
| 23 | 23 |
| 24 namespace net { | 24 namespace net { |
| 25 | 25 |
| 26 class AddressList; | 26 class AddressList; |
| 27 class IOBuffer; | 27 class IOBuffer; |
| 28 class IPEndPoint; | 28 class IPEndPoint; |
| 29 | 29 |
| 30 class NET_EXPORT TCPSocketWin : NON_EXPORTED_BASE(public base::NonThreadSafe), | 30 class NET_EXPORT TCPSocketWin : NON_EXPORTED_BASE(public base::NonThreadSafe), |
| 31 public base::win::ObjectWatcher::Delegate { | 31 public base::win::ObjectWatcher::Delegate { |
| 32 public: | 32 public: |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 bool logging_multiple_connect_attempts_; | 166 bool logging_multiple_connect_attempts_; |
| 167 | 167 |
| 168 BoundNetLog net_log_; | 168 BoundNetLog net_log_; |
| 169 | 169 |
| 170 DISALLOW_COPY_AND_ASSIGN(TCPSocketWin); | 170 DISALLOW_COPY_AND_ASSIGN(TCPSocketWin); |
| 171 }; | 171 }; |
| 172 | 172 |
| 173 } // namespace net | 173 } // namespace net |
| 174 | 174 |
| 175 #endif // NET_SOCKET_TCP_SOCKET_WIN_H_ | 175 #endif // NET_SOCKET_TCP_SOCKET_WIN_H_ |
| OLD | NEW |