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 #include "net/socket/tcp_client_socket.h" | 5 #include "net/socket/tcp_client_socket.h" |
6 | 6 |
7 #include <errno.h> | 7 #include <errno.h> |
8 #include <fcntl.h> | 8 #include <fcntl.h> |
9 #include <netdb.h> | 9 #include <netdb.h> |
10 #include <sys/socket.h> | 10 #include <sys/socket.h> |
11 #include <netinet/tcp.h> | 11 #include <netinet/tcp.h> |
12 #if defined(OS_POSIX) | 12 #if defined(OS_POSIX) |
13 #include <netinet/in.h> | 13 #include <netinet/in.h> |
14 #endif | 14 #endif |
15 | 15 |
16 #include "base/eintr_wrapper.h" | |
17 #include "base/logging.h" | 16 #include "base/logging.h" |
18 #include "base/message_loop.h" | 17 #include "base/message_loop.h" |
19 #include "base/metrics/stats_counters.h" | 18 #include "base/metrics/stats_counters.h" |
| 19 #include "base/posix/eintr_wrapper.h" |
20 #include "base/string_util.h" | 20 #include "base/string_util.h" |
21 #include "net/base/connection_type_histograms.h" | 21 #include "net/base/connection_type_histograms.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_errors.h" | 24 #include "net/base/net_errors.h" |
25 #include "net/base/net_log.h" | 25 #include "net/base/net_log.h" |
26 #include "net/base/net_util.h" | 26 #include "net/base/net_util.h" |
27 #include "net/base/network_change_notifier.h" | 27 #include "net/base/network_change_notifier.h" |
28 #include "net/socket/socket_net_log_params.h" | 28 #include "net/socket/socket_net_log_params.h" |
29 | 29 |
(...skipping 753 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
783 | 783 |
784 NextProto TCPClientSocketLibevent::GetNegotiatedProtocol() const { | 784 NextProto TCPClientSocketLibevent::GetNegotiatedProtocol() const { |
785 return kProtoUnknown; | 785 return kProtoUnknown; |
786 } | 786 } |
787 | 787 |
788 bool TCPClientSocketLibevent::GetSSLInfo(SSLInfo* ssl_info) { | 788 bool TCPClientSocketLibevent::GetSSLInfo(SSLInfo* ssl_info) { |
789 return false; | 789 return false; |
790 } | 790 } |
791 | 791 |
792 } // namespace net | 792 } // namespace net |
OLD | NEW |