| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 #include "net/quic/chromium/quic_chromium_alarm_factory.h" | 44 #include "net/quic/chromium/quic_chromium_alarm_factory.h" |
| 45 #include "net/quic/chromium/quic_chromium_connection_helper.h" | 45 #include "net/quic/chromium/quic_chromium_connection_helper.h" |
| 46 #include "net/quic/chromium/quic_chromium_packet_reader.h" | 46 #include "net/quic/chromium/quic_chromium_packet_reader.h" |
| 47 #include "net/quic/chromium/quic_chromium_packet_writer.h" | 47 #include "net/quic/chromium/quic_chromium_packet_writer.h" |
| 48 #include "net/quic/chromium/quic_crypto_client_stream_factory.h" | 48 #include "net/quic/chromium/quic_crypto_client_stream_factory.h" |
| 49 #include "net/quic/chromium/quic_server_info.h" | 49 #include "net/quic/chromium/quic_server_info.h" |
| 50 #include "net/quic/core/crypto/proof_verifier.h" | 50 #include "net/quic/core/crypto/proof_verifier.h" |
| 51 #include "net/quic/core/crypto/quic_random.h" | 51 #include "net/quic/core/crypto/quic_random.h" |
| 52 #include "net/quic/core/quic_client_promised_info.h" | 52 #include "net/quic/core/quic_client_promised_info.h" |
| 53 #include "net/quic/core/quic_connection.h" | 53 #include "net/quic/core/quic_connection.h" |
| 54 #include "net/quic/core/quic_flags.h" | 54 #include "net/quic/platform/api/quic_flags.h" |
| 55 #include "net/quic/platform/api/quic_clock.h" | 55 #include "net/quic/platform/api/quic_clock.h" |
| 56 #include "net/socket/client_socket_factory.h" | 56 #include "net/socket/client_socket_factory.h" |
| 57 #include "net/socket/next_proto.h" | 57 #include "net/socket/next_proto.h" |
| 58 #include "net/socket/socket_performance_watcher.h" | 58 #include "net/socket/socket_performance_watcher.h" |
| 59 #include "net/socket/socket_performance_watcher_factory.h" | 59 #include "net/socket/socket_performance_watcher_factory.h" |
| 60 #include "net/socket/udp_client_socket.h" | 60 #include "net/socket/udp_client_socket.h" |
| 61 #include "net/ssl/token_binding.h" | 61 #include "net/ssl/token_binding.h" |
| 62 #include "third_party/boringssl/src/include/openssl/aead.h" | 62 #include "third_party/boringssl/src/include/openssl/aead.h" |
| 63 #include "url/gurl.h" | 63 #include "url/gurl.h" |
| 64 #include "url/url_constants.h" | 64 #include "url/url_constants.h" |
| (...skipping 1899 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1964 // Since the session was active, there's no longer an | 1964 // Since the session was active, there's no longer an |
| 1965 // HttpStreamFactoryImpl::Job running which can mark it broken, unless the TCP | 1965 // HttpStreamFactoryImpl::Job running which can mark it broken, unless the TCP |
| 1966 // job also fails. So to avoid not using QUIC when we otherwise could, we mark | 1966 // job also fails. So to avoid not using QUIC when we otherwise could, we mark |
| 1967 // it as recently broken, which means that 0-RTT will be disabled but we'll | 1967 // it as recently broken, which means that 0-RTT will be disabled but we'll |
| 1968 // still race. | 1968 // still race. |
| 1969 http_server_properties_->MarkAlternativeServiceRecentlyBroken( | 1969 http_server_properties_->MarkAlternativeServiceRecentlyBroken( |
| 1970 alternative_service); | 1970 alternative_service); |
| 1971 } | 1971 } |
| 1972 | 1972 |
| 1973 } // namespace net | 1973 } // namespace net |
| OLD | NEW |