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_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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 Job* waiting_job_; | 291 Job* waiting_job_; |
292 | 292 |
293 // True if handling a HTTPS request, or using SPDY with SSL | 293 // True if handling a HTTPS request, or using SPDY with SSL |
294 bool using_ssl_; | 294 bool using_ssl_; |
295 | 295 |
296 // True if this network transaction is using SPDY instead of HTTP. | 296 // True if this network transaction is using SPDY instead of HTTP. |
297 bool using_spdy_; | 297 bool using_spdy_; |
298 | 298 |
299 // True if this network transaction is using QUIC instead of HTTP. | 299 // True if this network transaction is using QUIC instead of HTTP. |
300 bool using_quic_; | 300 bool using_quic_; |
| 301 |
| 302 // True if this network transaction is going through a QUIC proxy. |
| 303 bool using_quic_proxy_; |
| 304 |
301 QuicStreamRequest quic_request_; | 305 QuicStreamRequest quic_request_; |
302 | 306 |
303 // True if this job used an existing QUIC session. | 307 // True if this job used an existing QUIC session. |
304 bool using_existing_quic_session_; | 308 bool using_existing_quic_session_; |
305 | 309 |
306 // Force quic for a specific port. | 310 // Force quic for a specific port. |
307 int force_quic_port_; | 311 int force_quic_port_; |
308 | 312 |
309 // The certificate error while using SPDY over SSL for insecure URLs. | 313 // The certificate error while using SPDY over SSL for insecure URLs. |
310 int spdy_certificate_error_; | 314 int spdy_certificate_error_; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 JobStatus other_job_status_; | 346 JobStatus other_job_status_; |
343 | 347 |
344 base::WeakPtrFactory<Job> ptr_factory_; | 348 base::WeakPtrFactory<Job> ptr_factory_; |
345 | 349 |
346 DISALLOW_COPY_AND_ASSIGN(Job); | 350 DISALLOW_COPY_AND_ASSIGN(Job); |
347 }; | 351 }; |
348 | 352 |
349 } // namespace net | 353 } // namespace net |
350 | 354 |
351 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ | 355 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ |
OLD | NEW |