| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ | 5 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ |
| 6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ | 6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ |
| 7 | 7 |
| 8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 static void LogHttpConnectedMetrics(const ClientSocketHandle& handle); | 200 static void LogHttpConnectedMetrics(const ClientSocketHandle& handle); |
| 201 | 201 |
| 202 Request* request_; | 202 Request* request_; |
| 203 | 203 |
| 204 const HttpRequestInfo request_info_; | 204 const HttpRequestInfo request_info_; |
| 205 ProxyInfo proxy_info_; | 205 ProxyInfo proxy_info_; |
| 206 SSLConfig server_ssl_config_; | 206 SSLConfig server_ssl_config_; |
| 207 SSLConfig proxy_ssl_config_; | 207 SSLConfig proxy_ssl_config_; |
| 208 const BoundNetLog net_log_; | 208 const BoundNetLog net_log_; |
| 209 | 209 |
| 210 OldCompletionCallbackImpl<Job> io_callback_; | 210 OldCompletionCallbackImpl<Job> old_io_callback_; |
| 211 CompletionCallback io_callback_; |
| 211 scoped_ptr<ClientSocketHandle> connection_; | 212 scoped_ptr<ClientSocketHandle> connection_; |
| 212 HttpNetworkSession* const session_; | 213 HttpNetworkSession* const session_; |
| 213 HttpStreamFactoryImpl* const stream_factory_; | 214 HttpStreamFactoryImpl* const stream_factory_; |
| 214 State next_state_; | 215 State next_state_; |
| 215 ProxyService::PacRequest* pac_request_; | 216 ProxyService::PacRequest* pac_request_; |
| 216 SSLInfo ssl_info_; | 217 SSLInfo ssl_info_; |
| 217 | 218 |
| 218 // The origin server we're trying to reach. | 219 // The origin server we're trying to reach. |
| 219 HostPortPair origin_; | 220 HostPortPair origin_; |
| 220 | 221 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 bool existing_available_pipeline_; | 278 bool existing_available_pipeline_; |
| 278 | 279 |
| 279 base::WeakPtrFactory<Job> ptr_factory_; | 280 base::WeakPtrFactory<Job> ptr_factory_; |
| 280 | 281 |
| 281 DISALLOW_COPY_AND_ASSIGN(Job); | 282 DISALLOW_COPY_AND_ASSIGN(Job); |
| 282 }; | 283 }; |
| 283 | 284 |
| 284 } // namespace net | 285 } // namespace net |
| 285 | 286 |
| 286 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ | 287 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ |
| OLD | NEW |