| 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 26 matching lines...) Expand all Loading... |
| 37 #include "net/quic/chromium/crypto/proof_verifier_chromium.h" | 37 #include "net/quic/chromium/crypto/proof_verifier_chromium.h" |
| 38 #include "net/quic/chromium/quic_chromium_alarm_factory.h" | 38 #include "net/quic/chromium/quic_chromium_alarm_factory.h" |
| 39 #include "net/quic/chromium/quic_chromium_connection_helper.h" | 39 #include "net/quic/chromium/quic_chromium_connection_helper.h" |
| 40 #include "net/quic/chromium/quic_chromium_packet_reader.h" | 40 #include "net/quic/chromium/quic_chromium_packet_reader.h" |
| 41 #include "net/quic/chromium/quic_chromium_packet_writer.h" | 41 #include "net/quic/chromium/quic_chromium_packet_writer.h" |
| 42 #include "net/quic/core/crypto/proof_verifier.h" | 42 #include "net/quic/core/crypto/proof_verifier.h" |
| 43 #include "net/quic/core/crypto/properties_based_quic_server_info.h" | 43 #include "net/quic/core/crypto/properties_based_quic_server_info.h" |
| 44 #include "net/quic/core/crypto/quic_random.h" | 44 #include "net/quic/core/crypto/quic_random.h" |
| 45 #include "net/quic/core/crypto/quic_server_info.h" | 45 #include "net/quic/core/crypto/quic_server_info.h" |
| 46 #include "net/quic/core/quic_client_promised_info.h" | 46 #include "net/quic/core/quic_client_promised_info.h" |
| 47 #include "net/quic/core/quic_clock.h" | |
| 48 #include "net/quic/core/quic_connection.h" | 47 #include "net/quic/core/quic_connection.h" |
| 49 #include "net/quic/core/quic_crypto_client_stream_factory.h" | 48 #include "net/quic/core/quic_crypto_client_stream_factory.h" |
| 50 #include "net/quic/core/quic_flags.h" | 49 #include "net/quic/core/quic_flags.h" |
| 50 #include "net/quic/platform/api/quic_clock.h" |
| 51 #include "net/socket/client_socket_factory.h" | 51 #include "net/socket/client_socket_factory.h" |
| 52 #include "net/socket/next_proto.h" | 52 #include "net/socket/next_proto.h" |
| 53 #include "net/socket/socket_performance_watcher.h" | 53 #include "net/socket/socket_performance_watcher.h" |
| 54 #include "net/socket/socket_performance_watcher_factory.h" | 54 #include "net/socket/socket_performance_watcher_factory.h" |
| 55 #include "net/socket/udp_client_socket.h" | 55 #include "net/socket/udp_client_socket.h" |
| 56 #include "net/ssl/token_binding.h" | 56 #include "net/ssl/token_binding.h" |
| 57 #include "third_party/boringssl/src/include/openssl/aead.h" | 57 #include "third_party/boringssl/src/include/openssl/aead.h" |
| 58 #include "url/gurl.h" | 58 #include "url/gurl.h" |
| 59 #include "url/url_constants.h" | 59 #include "url/url_constants.h" |
| 60 | 60 |
| (...skipping 1838 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1899 void QuicStreamFactory::OpenFactory() { | 1899 void QuicStreamFactory::OpenFactory() { |
| 1900 status_ = OPEN; | 1900 status_ = OPEN; |
| 1901 } | 1901 } |
| 1902 | 1902 |
| 1903 void QuicStreamFactory::MaybeClearConsecutiveDisabledCount() { | 1903 void QuicStreamFactory::MaybeClearConsecutiveDisabledCount() { |
| 1904 if (status_ == OPEN) | 1904 if (status_ == OPEN) |
| 1905 consecutive_disabled_count_ = 0; | 1905 consecutive_disabled_count_ = 0; |
| 1906 } | 1906 } |
| 1907 | 1907 |
| 1908 } // namespace net | 1908 } // namespace net |
| OLD | NEW |