| 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_SOCKET_SOCKS_CLIENT_SOCKET_H_ | 5 #ifndef NET_SOCKET_SOCKS_CLIENT_SOCKET_H_ |
| 6 #define NET_SOCKET_SOCKS_CLIENT_SOCKET_H_ | 6 #define NET_SOCKET_SOCKS_CLIENT_SOCKET_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| 11 #include <memory> | 11 #include <memory> |
| 12 #include <string> | 12 #include <string> |
| 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 "net/base/address_list.h" | 17 #include "net/base/address_list.h" |
| 18 #include "net/base/completion_callback.h" | 18 #include "net/base/completion_callback.h" |
| 19 #include "net/base/net_errors.h" | 19 #include "net/base/net_errors.h" |
| 20 #include "net/base/net_export.h" |
| 20 #include "net/dns/host_resolver.h" | 21 #include "net/dns/host_resolver.h" |
| 21 #include "net/log/net_log_with_source.h" | 22 #include "net/log/net_log_with_source.h" |
| 22 #include "net/socket/stream_socket.h" | 23 #include "net/socket/stream_socket.h" |
| 23 | 24 |
| 24 namespace net { | 25 namespace net { |
| 25 | 26 |
| 26 class ClientSocketHandle; | 27 class ClientSocketHandle; |
| 27 | 28 |
| 28 // The SOCKS client socket implementation | 29 // The SOCKS client socket implementation |
| 29 class NET_EXPORT_PRIVATE SOCKSClientSocket : public StreamSocket { | 30 class NET_EXPORT_PRIVATE SOCKSClientSocket : public StreamSocket { |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 RequestPriority priority_; | 137 RequestPriority priority_; |
| 137 | 138 |
| 138 NetLogWithSource net_log_; | 139 NetLogWithSource net_log_; |
| 139 | 140 |
| 140 DISALLOW_COPY_AND_ASSIGN(SOCKSClientSocket); | 141 DISALLOW_COPY_AND_ASSIGN(SOCKSClientSocket); |
| 141 }; | 142 }; |
| 142 | 143 |
| 143 } // namespace net | 144 } // namespace net |
| 144 | 145 |
| 145 #endif // NET_SOCKET_SOCKS_CLIENT_SOCKET_H_ | 146 #endif // NET_SOCKET_SOCKS_CLIENT_SOCKET_H_ |
| OLD | NEW |