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 22 matching lines...) Expand all Loading... |
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/quic_chromium_alarm_factory.h" | 39 #include "net/quic/chromium/quic_chromium_alarm_factory.h" |
40 #include "net/quic/chromium/quic_chromium_connection_helper.h" | 40 #include "net/quic/chromium/quic_chromium_connection_helper.h" |
41 #include "net/quic/chromium/quic_chromium_packet_reader.h" | 41 #include "net/quic/chromium/quic_chromium_packet_reader.h" |
42 #include "net/quic/chromium/quic_chromium_packet_writer.h" | 42 #include "net/quic/chromium/quic_chromium_packet_writer.h" |
| 43 #include "net/quic/chromium/quic_crypto_client_stream_factory.h" |
43 #include "net/quic/core/crypto/proof_verifier.h" | 44 #include "net/quic/core/crypto/proof_verifier.h" |
44 #include "net/quic/core/crypto/properties_based_quic_server_info.h" | 45 #include "net/quic/core/crypto/properties_based_quic_server_info.h" |
45 #include "net/quic/core/crypto/quic_random.h" | 46 #include "net/quic/core/crypto/quic_random.h" |
46 #include "net/quic/core/crypto/quic_server_info.h" | 47 #include "net/quic/core/crypto/quic_server_info.h" |
47 #include "net/quic/core/quic_client_promised_info.h" | 48 #include "net/quic/core/quic_client_promised_info.h" |
48 #include "net/quic/core/quic_connection.h" | 49 #include "net/quic/core/quic_connection.h" |
49 #include "net/quic/core/quic_crypto_client_stream_factory.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" |
58 #include "third_party/boringssl/src/include/openssl/aead.h" | 58 #include "third_party/boringssl/src/include/openssl/aead.h" |
59 #include "url/gurl.h" | 59 #include "url/gurl.h" |
(...skipping 1840 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1900 void QuicStreamFactory::OpenFactory() { | 1900 void QuicStreamFactory::OpenFactory() { |
1901 status_ = OPEN; | 1901 status_ = OPEN; |
1902 } | 1902 } |
1903 | 1903 |
1904 void QuicStreamFactory::MaybeClearConsecutiveDisabledCount() { | 1904 void QuicStreamFactory::MaybeClearConsecutiveDisabledCount() { |
1905 if (status_ == OPEN) | 1905 if (status_ == OPEN) |
1906 consecutive_disabled_count_ = 0; | 1906 consecutive_disabled_count_ = 0; |
1907 } | 1907 } |
1908 | 1908 |
1909 } // namespace net | 1909 } // namespace net |
OLD | NEW |