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_QUIC_CHROMIUM_QUIC_STREAM_FACTORY_H_ | 5 #ifndef NET_QUIC_CHROMIUM_QUIC_STREAM_FACTORY_H_ |
6 #define NET_QUIC_CHROMIUM_QUIC_STREAM_FACTORY_H_ | 6 #define NET_QUIC_CHROMIUM_QUIC_STREAM_FACTORY_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
552 // Origins which have gone away recently. | 552 // Origins which have gone away recently. |
553 AliasSet gone_away_aliases_; | 553 AliasSet gone_away_aliases_; |
554 | 554 |
555 const QuicConfig config_; | 555 const QuicConfig config_; |
556 QuicCryptoClientConfig crypto_config_; | 556 QuicCryptoClientConfig crypto_config_; |
557 | 557 |
558 JobMap active_jobs_; | 558 JobMap active_jobs_; |
559 // Map from QuicServerId to a set of non-owning QuicStreamRequest pointers. | 559 // Map from QuicServerId to a set of non-owning QuicStreamRequest pointers. |
560 ServerIDRequestsMap job_requests_map_; | 560 ServerIDRequestsMap job_requests_map_; |
561 | 561 |
| 562 // Map of QuicServerId to owning CertVerifierJob. |
562 CertVerifierJobMap active_cert_verifier_jobs_; | 563 CertVerifierJobMap active_cert_verifier_jobs_; |
563 | 564 |
564 QuicVersionVector supported_versions_; | 565 const QuicVersionVector supported_versions_; |
565 | 566 |
566 // Set if we always require handshake confirmation. If true, this will | 567 // Set if we always require handshake confirmation. If true, this will |
567 // introduce at least one RTT for the handshake before the client sends data. | 568 // introduce at least one RTT for the handshake before the client sends data. |
568 bool always_require_handshake_confirmation_; | 569 bool always_require_handshake_confirmation_; |
569 | 570 |
570 // Set if we do not want connection pooling. | 571 // Set if we do not want connection pooling. |
571 bool disable_connection_pooling_; | 572 bool disable_connection_pooling_; |
572 | 573 |
573 // Specifies the ratio between time to load QUIC server information from disk | 574 // Specifies the ratio between time to load QUIC server information from disk |
574 // cache to 'smoothed RTT'. This ratio is used to calculate the timeout in | 575 // cache to 'smoothed RTT'. This ratio is used to calculate the timeout in |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
650 const scoped_refptr<SSLConfigService> ssl_config_service_; | 651 const scoped_refptr<SSLConfigService> ssl_config_service_; |
651 | 652 |
652 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; | 653 base::WeakPtrFactory<QuicStreamFactory> weak_factory_; |
653 | 654 |
654 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); | 655 DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory); |
655 }; | 656 }; |
656 | 657 |
657 } // namespace net | 658 } // namespace net |
658 | 659 |
659 #endif // NET_QUIC_CHROMIUM_QUIC_STREAM_FACTORY_H_ | 660 #endif // NET_QUIC_CHROMIUM_QUIC_STREAM_FACTORY_H_ |
OLD | NEW |