| 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 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
| 14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 15 #include "googleurl/src/gurl.h" | |
| 16 #include "net/base/completion_callback.h" | 15 #include "net/base/completion_callback.h" |
| 17 #include "net/base/host_port_pair.h" | 16 #include "net/base/host_port_pair.h" |
| 18 #include "net/base/net_errors.h" | 17 #include "net/base/net_errors.h" |
| 19 #include "net/base/net_log.h" | 18 #include "net/base/net_log.h" |
| 20 #include "net/proxy/proxy_info.h" | 19 #include "net/proxy/proxy_info.h" |
| 21 #include "net/proxy/proxy_service.h" | 20 #include "net/proxy/proxy_service.h" |
| 22 #include "net/socket/stream_socket.h" | 21 #include "net/socket/stream_socket.h" |
| 23 #include "net/ssl/ssl_config_service.h" | 22 #include "net/ssl/ssl_config_service.h" |
| 23 #include "url/gurl.h" |
| 24 | 24 |
| 25 namespace net { | 25 namespace net { |
| 26 class ClientSocketFactory; | 26 class ClientSocketFactory; |
| 27 class ClientSocketHandle; | 27 class ClientSocketHandle; |
| 28 class HttpNetworkSession; | 28 class HttpNetworkSession; |
| 29 class URLRequestContextGetter; | 29 class URLRequestContextGetter; |
| 30 } // namespace net | 30 } // namespace net |
| 31 | 31 |
| 32 // TODO(sanjeevr): Move this to net/ | 32 // TODO(sanjeevr): Move this to net/ |
| 33 namespace jingle_glue { | 33 namespace jingle_glue { |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 net::BoundNetLog bound_net_log_; | 97 net::BoundNetLog bound_net_log_; |
| 98 base::WeakPtrFactory<ProxyResolvingClientSocket> weak_factory_; | 98 base::WeakPtrFactory<ProxyResolvingClientSocket> weak_factory_; |
| 99 | 99 |
| 100 // The callback passed to Connect(). | 100 // The callback passed to Connect(). |
| 101 net::CompletionCallback user_connect_callback_; | 101 net::CompletionCallback user_connect_callback_; |
| 102 }; | 102 }; |
| 103 | 103 |
| 104 } // namespace jingle_glue | 104 } // namespace jingle_glue |
| 105 | 105 |
| 106 #endif // JINGLE_GLUE_PROXY_RESOLVING_CLIENT_SOCKET_H_ | 106 #endif // JINGLE_GLUE_PROXY_RESOLVING_CLIENT_SOCKET_H_ |
| OLD | NEW |