OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_config.h" | 5 #include "net/quic/core/quic_config.h" |
6 | 6 |
7 #include "net/quic/core/crypto/crypto_handshake_message.h" | 7 #include "net/quic/core/crypto/crypto_handshake_message.h" |
8 #include "net/quic/core/crypto/crypto_protocol.h" | 8 #include "net/quic/core/crypto/crypto_protocol.h" |
9 #include "net/quic/core/quic_flags.h" | 9 #include "net/quic/core/quic_flags.h" |
10 #include "net/quic/core/quic_protocol.h" | 10 #include "net/quic/core/quic_packets.h" |
11 #include "net/quic/core/quic_time.h" | 11 #include "net/quic/core/quic_time.h" |
12 #include "net/quic/core/quic_utils.h" | 12 #include "net/quic/core/quic_utils.h" |
13 #include "net/quic/test_tools/quic_config_peer.h" | 13 #include "net/quic/test_tools/quic_config_peer.h" |
14 #include "net/quic/test_tools/quic_test_utils.h" | 14 #include "net/quic/test_tools/quic_test_utils.h" |
15 #include "net/test/gtest_util.h" | 15 #include "net/test/gtest_util.h" |
16 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
17 | 17 |
18 using std::string; | 18 using std::string; |
19 | 19 |
20 namespace net { | 20 namespace net { |
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 EXPECT_EQ(1u, config_.ReceivedConnectionOptions().size()); | 298 EXPECT_EQ(1u, config_.ReceivedConnectionOptions().size()); |
299 EXPECT_FALSE(config_.HasClientRequestedIndependentOption( | 299 EXPECT_FALSE(config_.HasClientRequestedIndependentOption( |
300 kRENO, Perspective::IS_SERVER)); | 300 kRENO, Perspective::IS_SERVER)); |
301 EXPECT_TRUE(config_.HasClientRequestedIndependentOption( | 301 EXPECT_TRUE(config_.HasClientRequestedIndependentOption( |
302 kTBBR, Perspective::IS_SERVER)); | 302 kTBBR, Perspective::IS_SERVER)); |
303 } | 303 } |
304 | 304 |
305 } // namespace | 305 } // namespace |
306 } // namespace test | 306 } // namespace test |
307 } // namespace net | 307 } // namespace net |
OLD | NEW |