| 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 <stdint.h> | 11 #include <stdint.h> |
| 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/memory/scoped_ptr.h" |
| 16 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
| 17 #include "net/base/completion_callback.h" | 18 #include "net/base/completion_callback.h" |
| 18 #include "net/base/host_port_pair.h" | 19 #include "net/base/host_port_pair.h" |
| 19 #include "net/base/net_errors.h" | 20 #include "net/base/net_errors.h" |
| 20 #include "net/log/net_log.h" | 21 #include "net/log/net_log.h" |
| 21 #include "net/proxy/proxy_info.h" | 22 #include "net/proxy/proxy_info.h" |
| 22 #include "net/proxy/proxy_service.h" | 23 #include "net/proxy/proxy_service.h" |
| 23 #include "net/socket/next_proto.h" | 24 #include "net/socket/next_proto.h" |
| 24 #include "net/socket/stream_socket.h" | 25 #include "net/socket/stream_socket.h" |
| 25 #include "net/ssl/ssl_config_service.h" | 26 #include "net/ssl/ssl_config_service.h" |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 net::CompletionCallback user_connect_callback_; | 110 net::CompletionCallback user_connect_callback_; |
| 110 | 111 |
| 111 base::WeakPtrFactory<ProxyResolvingClientSocket> weak_factory_; | 112 base::WeakPtrFactory<ProxyResolvingClientSocket> weak_factory_; |
| 112 | 113 |
| 113 DISALLOW_COPY_AND_ASSIGN(ProxyResolvingClientSocket); | 114 DISALLOW_COPY_AND_ASSIGN(ProxyResolvingClientSocket); |
| 114 }; | 115 }; |
| 115 | 116 |
| 116 } // namespace jingle_glue | 117 } // namespace jingle_glue |
| 117 | 118 |
| 118 #endif // JINGLE_GLUE_PROXY_RESOLVING_CLIENT_SOCKET_H_ | 119 #endif // JINGLE_GLUE_PROXY_RESOLVING_CLIENT_SOCKET_H_ |
| OLD | NEW |