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/quic_config.h" | 5 #include "net/quic/core/quic_config.h" |
6 | 6 |
7 #include "net/quic/crypto/crypto_handshake_message.h" | 7 #include "net/quic/core/crypto/crypto_handshake_message.h" |
8 #include "net/quic/crypto/crypto_protocol.h" | 8 #include "net/quic/core/crypto/crypto_protocol.h" |
9 #include "net/quic/quic_flags.h" | 9 #include "net/quic/core/quic_flags.h" |
10 #include "net/quic/quic_protocol.h" | 10 #include "net/quic/core/quic_protocol.h" |
11 #include "net/quic/quic_time.h" | 11 #include "net/quic/core/quic_time.h" |
12 #include "net/quic/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 { |
21 namespace test { | 21 namespace test { |
22 namespace { | 22 namespace { |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 | 243 |
244 EXPECT_TRUE(config_.HasReceivedConnectionOptions()); | 244 EXPECT_TRUE(config_.HasReceivedConnectionOptions()); |
245 EXPECT_EQ(1u, config_.ReceivedConnectionOptions().size()); | 245 EXPECT_EQ(1u, config_.ReceivedConnectionOptions().size()); |
246 EXPECT_TRUE( | 246 EXPECT_TRUE( |
247 config_.HasClientSentConnectionOption(kTBBR, Perspective::IS_SERVER)); | 247 config_.HasClientSentConnectionOption(kTBBR, Perspective::IS_SERVER)); |
248 } | 248 } |
249 | 249 |
250 } // namespace | 250 } // namespace |
251 } // namespace test | 251 } // namespace test |
252 } // namespace net | 252 } // namespace net |
OLD | NEW |