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/quic_config.h" |
6 | 6 |
7 #include "net/quic/crypto/crypto_handshake_message.h" | 7 #include "net/quic/crypto/crypto_handshake_message.h" |
8 #include "net/quic/crypto/crypto_protocol.h" | 8 #include "net/quic/crypto/crypto_protocol.h" |
9 #include "net/quic/quic_flags.h" | 9 #include "net/quic/quic_flags.h" |
10 #include "net/quic/quic_protocol.h" | 10 #include "net/quic/quic_protocol.h" |
11 #include "net/quic/quic_sent_packet_manager.h" | |
12 #include "net/quic/quic_time.h" | 11 #include "net/quic/quic_time.h" |
13 #include "net/quic/quic_utils.h" | 12 #include "net/quic/quic_utils.h" |
14 #include "net/quic/test_tools/quic_test_utils.h" | 13 #include "net/quic/test_tools/quic_test_utils.h" |
15 #include "net/test/gtest_util.h" | 14 #include "net/test/gtest_util.h" |
16 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
17 | 16 |
18 using std::string; | 17 using std::string; |
19 | 18 |
20 namespace net { | 19 namespace net { |
21 namespace test { | 20 namespace test { |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 EXPECT_DFATAL(config.SetInitialFlowControlWindowToSend(kInvalidWindow), | 289 EXPECT_DFATAL(config.SetInitialFlowControlWindowToSend(kInvalidWindow), |
291 "Initial flow control receive window"); | 290 "Initial flow control receive window"); |
292 | 291 |
293 EXPECT_EQ(kDefaultFlowControlSendWindow, | 292 EXPECT_EQ(kDefaultFlowControlSendWindow, |
294 config.GetInitialFlowControlWindowToSend()); | 293 config.GetInitialFlowControlWindowToSend()); |
295 } | 294 } |
296 | 295 |
297 } // namespace | 296 } // namespace |
298 } // namespace test | 297 } // namespace test |
299 } // namespace net | 298 } // namespace net |
OLD | NEW |