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 18 matching lines...) Expand all Loading... |
29 #include "net/cert/cert_verifier.h" | 29 #include "net/cert/cert_verifier.h" |
30 #include "net/cert/ct_verifier.h" | 30 #include "net/cert/ct_verifier.h" |
31 #include "net/dns/host_resolver.h" | 31 #include "net/dns/host_resolver.h" |
32 #include "net/http/bidirectional_stream_impl.h" | 32 #include "net/http/bidirectional_stream_impl.h" |
33 #include "net/log/net_log_capture_mode.h" | 33 #include "net/log/net_log_capture_mode.h" |
34 #include "net/log/net_log_event_type.h" | 34 #include "net/log/net_log_event_type.h" |
35 #include "net/log/net_log_source_type.h" | 35 #include "net/log/net_log_source_type.h" |
36 #include "net/quic/chromium/bidirectional_stream_quic_impl.h" | 36 #include "net/quic/chromium/bidirectional_stream_quic_impl.h" |
37 #include "net/quic/chromium/crypto/channel_id_chromium.h" | 37 #include "net/quic/chromium/crypto/channel_id_chromium.h" |
38 #include "net/quic/chromium/crypto/proof_verifier_chromium.h" | 38 #include "net/quic/chromium/crypto/proof_verifier_chromium.h" |
| 39 #include "net/quic/chromium/properties_based_quic_server_info.h" |
39 #include "net/quic/chromium/quic_chromium_alarm_factory.h" | 40 #include "net/quic/chromium/quic_chromium_alarm_factory.h" |
40 #include "net/quic/chromium/quic_chromium_connection_helper.h" | 41 #include "net/quic/chromium/quic_chromium_connection_helper.h" |
41 #include "net/quic/chromium/quic_chromium_packet_reader.h" | 42 #include "net/quic/chromium/quic_chromium_packet_reader.h" |
42 #include "net/quic/chromium/quic_chromium_packet_writer.h" | 43 #include "net/quic/chromium/quic_chromium_packet_writer.h" |
43 #include "net/quic/chromium/quic_crypto_client_stream_factory.h" | 44 #include "net/quic/chromium/quic_crypto_client_stream_factory.h" |
| 45 #include "net/quic/chromium/quic_server_info.h" |
44 #include "net/quic/core/crypto/proof_verifier.h" | 46 #include "net/quic/core/crypto/proof_verifier.h" |
45 #include "net/quic/core/crypto/properties_based_quic_server_info.h" | |
46 #include "net/quic/core/crypto/quic_random.h" | 47 #include "net/quic/core/crypto/quic_random.h" |
47 #include "net/quic/core/crypto/quic_server_info.h" | |
48 #include "net/quic/core/quic_client_promised_info.h" | 48 #include "net/quic/core/quic_client_promised_info.h" |
49 #include "net/quic/core/quic_connection.h" | 49 #include "net/quic/core/quic_connection.h" |
50 #include "net/quic/core/quic_flags.h" | 50 #include "net/quic/core/quic_flags.h" |
51 #include "net/quic/platform/api/quic_clock.h" | 51 #include "net/quic/platform/api/quic_clock.h" |
52 #include "net/socket/client_socket_factory.h" | 52 #include "net/socket/client_socket_factory.h" |
53 #include "net/socket/next_proto.h" | 53 #include "net/socket/next_proto.h" |
54 #include "net/socket/socket_performance_watcher.h" | 54 #include "net/socket/socket_performance_watcher.h" |
55 #include "net/socket/socket_performance_watcher_factory.h" | 55 #include "net/socket/socket_performance_watcher_factory.h" |
56 #include "net/socket/udp_client_socket.h" | 56 #include "net/socket/udp_client_socket.h" |
57 #include "net/ssl/token_binding.h" | 57 #include "net/ssl/token_binding.h" |
(...skipping 1844 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1902 void QuicStreamFactory::OpenFactory() { | 1902 void QuicStreamFactory::OpenFactory() { |
1903 status_ = OPEN; | 1903 status_ = OPEN; |
1904 } | 1904 } |
1905 | 1905 |
1906 void QuicStreamFactory::MaybeClearConsecutiveDisabledCount() { | 1906 void QuicStreamFactory::MaybeClearConsecutiveDisabledCount() { |
1907 if (status_ == OPEN) | 1907 if (status_ == OPEN) |
1908 consecutive_disabled_count_ = 0; | 1908 consecutive_disabled_count_ = 0; |
1909 } | 1909 } |
1910 | 1910 |
1911 } // namespace net | 1911 } // namespace net |
OLD | NEW |