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/core/quic_session.h" | 5 #include "net/quic/core/quic_session.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/memory/ptr_util.h" | 10 #include "base/memory/ptr_util.h" |
11 #include "base/rand_util.h" | 11 #include "base/rand_util.h" |
12 #include "base/stl_util.h" | 12 #include "base/stl_util.h" |
13 #include "base/strings/string_number_conversions.h" | |
14 #include "build/build_config.h" | 13 #include "build/build_config.h" |
15 #include "net/quic/core/crypto/crypto_protocol.h" | 14 #include "net/quic/core/crypto/crypto_protocol.h" |
16 #include "net/quic/core/crypto/null_encrypter.h" | 15 #include "net/quic/core/crypto/null_encrypter.h" |
17 #include "net/quic/core/quic_crypto_stream.h" | 16 #include "net/quic/core/quic_crypto_stream.h" |
18 #include "net/quic/core/quic_flags.h" | 17 #include "net/quic/core/quic_flags.h" |
19 #include "net/quic/core/quic_packets.h" | 18 #include "net/quic/core/quic_packets.h" |
20 #include "net/quic/core/quic_stream.h" | 19 #include "net/quic/core/quic_stream.h" |
21 #include "net/quic/core/quic_utils.h" | 20 #include "net/quic/core/quic_utils.h" |
22 #include "net/quic/platform/api/quic_str_cat.h" | 21 #include "net/quic/platform/api/quic_str_cat.h" |
23 #include "net/quic/test_tools/quic_config_peer.h" | 22 #include "net/quic/test_tools/quic_config_peer.h" |
(...skipping 1291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1315 if (version() <= QUIC_VERSION_35) { | 1314 if (version() <= QUIC_VERSION_35) { |
1316 EXPECT_FALSE(session_.force_hol_blocking()); | 1315 EXPECT_FALSE(session_.force_hol_blocking()); |
1317 } else { | 1316 } else { |
1318 EXPECT_TRUE(session_.force_hol_blocking()); | 1317 EXPECT_TRUE(session_.force_hol_blocking()); |
1319 } | 1318 } |
1320 } | 1319 } |
1321 | 1320 |
1322 } // namespace | 1321 } // namespace |
1323 } // namespace test | 1322 } // namespace test |
1324 } // namespace net | 1323 } // namespace net |
OLD | NEW |