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 #include "net/quic/chromium/quic_stream_factory.h" | 5 #include "net/quic/chromium/quic_stream_factory.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <tuple> | 8 #include <tuple> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
(...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
760 int packet_reader_yield_after_duration_milliseconds, | 760 int packet_reader_yield_after_duration_milliseconds, |
761 bool migrate_sessions_on_network_change, | 761 bool migrate_sessions_on_network_change, |
762 bool migrate_sessions_early, | 762 bool migrate_sessions_early, |
763 bool allow_server_migration, | 763 bool allow_server_migration, |
764 bool force_hol_blocking, | 764 bool force_hol_blocking, |
765 bool race_cert_verification, | 765 bool race_cert_verification, |
766 bool do_not_fragment, | 766 bool do_not_fragment, |
767 bool estimate_initial_rtt, | 767 bool estimate_initial_rtt, |
768 const QuicTagVector& connection_options, | 768 const QuicTagVector& connection_options, |
769 bool enable_token_binding) | 769 bool enable_token_binding) |
770 : require_confirmation_(true), | 770 : num_push_promise_received_(0), |
| 771 require_confirmation_(true), |
771 net_log_(net_log), | 772 net_log_(net_log), |
772 host_resolver_(host_resolver), | 773 host_resolver_(host_resolver), |
773 client_socket_factory_(client_socket_factory), | 774 client_socket_factory_(client_socket_factory), |
774 http_server_properties_(http_server_properties), | 775 http_server_properties_(http_server_properties), |
775 push_delegate_(nullptr), | 776 push_delegate_(nullptr), |
776 proxy_delegate_(proxy_delegate), | 777 proxy_delegate_(proxy_delegate), |
777 transport_security_state_(transport_security_state), | 778 transport_security_state_(transport_security_state), |
778 cert_transparency_verifier_(cert_transparency_verifier), | 779 cert_transparency_verifier_(cert_transparency_verifier), |
779 quic_crypto_client_stream_factory_(quic_crypto_client_stream_factory), | 780 quic_crypto_client_stream_factory_(quic_crypto_client_stream_factory), |
780 random_generator_(random_generator), | 781 random_generator_(random_generator), |
(...skipping 1202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1983 void QuicStreamFactory::OpenFactory() { | 1984 void QuicStreamFactory::OpenFactory() { |
1984 status_ = OPEN; | 1985 status_ = OPEN; |
1985 } | 1986 } |
1986 | 1987 |
1987 void QuicStreamFactory::MaybeClearConsecutiveDisabledCount() { | 1988 void QuicStreamFactory::MaybeClearConsecutiveDisabledCount() { |
1988 if (status_ == OPEN) | 1989 if (status_ == OPEN) |
1989 consecutive_disabled_count_ = 0; | 1990 consecutive_disabled_count_ = 0; |
1990 } | 1991 } |
1991 | 1992 |
1992 } // namespace net | 1993 } // namespace net |
OLD | NEW |