| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 #include "net/quic/core/crypto/quic_random.h" | 45 #include "net/quic/core/crypto/quic_random.h" |
| 46 #include "net/quic/core/crypto/quic_server_info.h" | 46 #include "net/quic/core/crypto/quic_server_info.h" |
| 47 #include "net/quic/core/quic_client_promised_info.h" | 47 #include "net/quic/core/quic_client_promised_info.h" |
| 48 #include "net/quic/core/quic_clock.h" | 48 #include "net/quic/core/quic_clock.h" |
| 49 #include "net/quic/core/quic_connection.h" | 49 #include "net/quic/core/quic_connection.h" |
| 50 #include "net/quic/core/quic_crypto_client_stream_factory.h" | 50 #include "net/quic/core/quic_crypto_client_stream_factory.h" |
| 51 #include "net/quic/core/quic_flags.h" | 51 #include "net/quic/core/quic_flags.h" |
| 52 #include "net/socket/client_socket_factory.h" | 52 #include "net/socket/client_socket_factory.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/ssl/token_binding.h" | 56 #include "net/ssl/token_binding.h" |
| 56 #include "net/udp/udp_client_socket.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 |
| 61 using std::min; | 61 using std::min; |
| 62 using NetworkHandle = net::NetworkChangeNotifier::NetworkHandle; | 62 using NetworkHandle = net::NetworkChangeNotifier::NetworkHandle; |
| 63 | 63 |
| 64 namespace net { | 64 namespace net { |
| 65 | 65 |
| 66 namespace { | 66 namespace { |
| (...skipping 1852 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1919 void QuicStreamFactory::OpenFactory() { | 1919 void QuicStreamFactory::OpenFactory() { |
| 1920 status_ = OPEN; | 1920 status_ = OPEN; |
| 1921 } | 1921 } |
| 1922 | 1922 |
| 1923 void QuicStreamFactory::MaybeClearConsecutiveDisabledCount() { | 1923 void QuicStreamFactory::MaybeClearConsecutiveDisabledCount() { |
| 1924 if (status_ == OPEN) | 1924 if (status_ == OPEN) |
| 1925 consecutive_disabled_count_ = 0; | 1925 consecutive_disabled_count_ = 0; |
| 1926 } | 1926 } |
| 1927 | 1927 |
| 1928 } // namespace net | 1928 } // namespace net |
| OLD | NEW |