| 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 <openssl/aead.h> | 7 #include <openssl/aead.h> |
| 8 | 8 |
| 9 #include <algorithm> | 9 #include <algorithm> |
| 10 #include <tuple> | 10 #include <tuple> |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 #include "net/dns/single_request_host_resolver.h" | 33 #include "net/dns/single_request_host_resolver.h" |
| 34 #include "net/http/bidirectional_stream_impl.h" | 34 #include "net/http/bidirectional_stream_impl.h" |
| 35 #include "net/quic/chromium/bidirectional_stream_quic_impl.h" | 35 #include "net/quic/chromium/bidirectional_stream_quic_impl.h" |
| 36 #include "net/quic/chromium/crypto/channel_id_chromium.h" | 36 #include "net/quic/chromium/crypto/channel_id_chromium.h" |
| 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/port_suggester.h" | 38 #include "net/quic/chromium/port_suggester.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/crypto/properties_based_quic_server_info.h" | 43 #include "net/quic/core/crypto/properties_based_quic_server_info.h" |
| 44 #include "net/quic/crypto/quic_random.h" | 44 #include "net/quic/core/crypto/quic_random.h" |
| 45 #include "net/quic/crypto/quic_server_info.h" | 45 #include "net/quic/core/crypto/quic_server_info.h" |
| 46 #include "net/quic/quic_client_promised_info.h" | 46 #include "net/quic/core/quic_client_promised_info.h" |
| 47 #include "net/quic/quic_clock.h" | 47 #include "net/quic/core/quic_clock.h" |
| 48 #include "net/quic/quic_connection.h" | 48 #include "net/quic/core/quic_connection.h" |
| 49 #include "net/quic/quic_crypto_client_stream_factory.h" | 49 #include "net/quic/core/quic_crypto_client_stream_factory.h" |
| 50 #include "net/quic/quic_flags.h" | 50 #include "net/quic/core/quic_flags.h" |
| 51 #include "net/socket/client_socket_factory.h" | 51 #include "net/socket/client_socket_factory.h" |
| 52 #include "net/socket/socket_performance_watcher.h" | 52 #include "net/socket/socket_performance_watcher.h" |
| 53 #include "net/socket/socket_performance_watcher_factory.h" | 53 #include "net/socket/socket_performance_watcher_factory.h" |
| 54 #include "net/ssl/token_binding.h" | 54 #include "net/ssl/token_binding.h" |
| 55 #include "net/udp/udp_client_socket.h" | 55 #include "net/udp/udp_client_socket.h" |
| 56 | 56 |
| 57 using std::min; | 57 using std::min; |
| 58 using NetworkHandle = net::NetworkChangeNotifier::NetworkHandle; | 58 using NetworkHandle = net::NetworkChangeNotifier::NetworkHandle; |
| 59 | 59 |
| 60 namespace net { | 60 namespace net { |
| (...skipping 1843 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1904 // Since the session was active, there's no longer an | 1904 // Since the session was active, there's no longer an |
| 1905 // HttpStreamFactoryImpl::Job running which can mark it broken, unless the TCP | 1905 // HttpStreamFactoryImpl::Job running which can mark it broken, unless the TCP |
| 1906 // job also fails. So to avoid not using QUIC when we otherwise could, we mark | 1906 // job also fails. So to avoid not using QUIC when we otherwise could, we mark |
| 1907 // it as recently broken, which means that 0-RTT will be disabled but we'll | 1907 // it as recently broken, which means that 0-RTT will be disabled but we'll |
| 1908 // still race. | 1908 // still race. |
| 1909 http_server_properties_->MarkAlternativeServiceRecentlyBroken( | 1909 http_server_properties_->MarkAlternativeServiceRecentlyBroken( |
| 1910 alternative_service); | 1910 alternative_service); |
| 1911 } | 1911 } |
| 1912 | 1912 |
| 1913 } // namespace net | 1913 } // namespace net |
| OLD | NEW |