| 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 <memory> | 8 #include <memory> |
| 9 #include <utility> | 9 #include <utility> |
| 10 | 10 |
| (...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 429 | 429 |
| 430 // Enable pooling to a SpdySession with matching IP and certificate | 430 // Enable pooling to a SpdySession with matching IP and certificate |
| 431 // even if the SpdySessionKey is different. | 431 // even if the SpdySessionKey is different. |
| 432 const bool enable_ip_based_pooling_; | 432 const bool enable_ip_based_pooling_; |
| 433 | 433 |
| 434 // Unowned. |this| job is owned by |delegate_|. | 434 // Unowned. |this| job is owned by |delegate_|. |
| 435 Delegate* delegate_; | 435 Delegate* delegate_; |
| 436 | 436 |
| 437 const JobType job_type_; | 437 const JobType job_type_; |
| 438 | 438 |
| 439 // True if handling a HTTPS request, or using SPDY with SSL | 439 // True if handling a HTTPS request. |
| 440 bool using_ssl_; | 440 const bool using_ssl_; |
| 441 | 441 |
| 442 // True if this network transaction is using SPDY instead of HTTP. | 442 // True if this network transaction is using SPDY instead of HTTP. |
| 443 bool using_spdy_; | 443 bool using_spdy_; |
| 444 | 444 |
| 445 // True if this network transaction is using QUIC instead of HTTP. | 445 // True if this network transaction is using QUIC instead of HTTP. |
| 446 bool using_quic_; | 446 bool using_quic_; |
| 447 QuicStreamRequest quic_request_; | 447 QuicStreamRequest quic_request_; |
| 448 | 448 |
| 449 // True if this job used an existing QUIC session. | 449 // True if this job used an existing QUIC session. |
| 450 bool using_existing_quic_session_; | 450 bool using_existing_quic_session_; |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 538 const SSLConfig& proxy_ssl_config, | 538 const SSLConfig& proxy_ssl_config, |
| 539 HostPortPair destination, | 539 HostPortPair destination, |
| 540 GURL origin_url, | 540 GURL origin_url, |
| 541 bool enable_ip_based_pooling, | 541 bool enable_ip_based_pooling, |
| 542 NetLog* net_log) = 0; | 542 NetLog* net_log) = 0; |
| 543 }; | 543 }; |
| 544 | 544 |
| 545 } // namespace net | 545 } // namespace net |
| 546 | 546 |
| 547 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ | 547 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ |
| OLD | NEW |