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 // This StreamSocket implementation wraps a ClientSocketHandle that is created | 5 // This StreamSocket implementation wraps a ClientSocketHandle that is created |
6 // from the client socket pool after resolving proxies. | 6 // from the client socket pool after resolving proxies. |
7 | 7 |
8 #ifndef JINGLE_GLUE_PROXY_RESOLVING_CLIENT_SOCKET_H_ | 8 #ifndef JINGLE_GLUE_PROXY_RESOLVING_CLIENT_SOCKET_H_ |
9 #define JINGLE_GLUE_PROXY_RESOLVING_CLIENT_SOCKET_H_ | 9 #define JINGLE_GLUE_PROXY_RESOLVING_CLIENT_SOCKET_H_ |
10 | 10 |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 // The transport socket. | 88 // The transport socket. |
89 scoped_ptr<net::ClientSocketHandle> transport_; | 89 scoped_ptr<net::ClientSocketHandle> transport_; |
90 | 90 |
91 const net::SSLConfig ssl_config_; | 91 const net::SSLConfig ssl_config_; |
92 net::ProxyService::PacRequest* pac_request_; | 92 net::ProxyService::PacRequest* pac_request_; |
93 net::ProxyInfo proxy_info_; | 93 net::ProxyInfo proxy_info_; |
94 const net::HostPortPair dest_host_port_pair_; | 94 const net::HostPortPair dest_host_port_pair_; |
95 const GURL proxy_url_; | 95 const GURL proxy_url_; |
96 bool tried_direct_connect_fallback_; | 96 bool tried_direct_connect_fallback_; |
97 net::BoundNetLog bound_net_log_; | 97 net::BoundNetLog bound_net_log_; |
98 base::WeakPtrFactory<ProxyResolvingClientSocket> weak_factory_; | |
99 | 98 |
100 // The callback passed to Connect(). | 99 // The callback passed to Connect(). |
101 net::CompletionCallback user_connect_callback_; | 100 net::CompletionCallback user_connect_callback_; |
| 101 |
| 102 base::WeakPtrFactory<ProxyResolvingClientSocket> weak_factory_; |
| 103 |
| 104 DISALLOW_COPY_AND_ASSIGN(ProxyResolvingClientSocket); |
102 }; | 105 }; |
103 | 106 |
104 } // namespace jingle_glue | 107 } // namespace jingle_glue |
105 | 108 |
106 #endif // JINGLE_GLUE_PROXY_RESOLVING_CLIENT_SOCKET_H_ | 109 #endif // JINGLE_GLUE_PROXY_RESOLVING_CLIENT_SOCKET_H_ |
OLD | NEW |