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/quic_connection.h" | 5 #include "net/quic/quic_connection.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "base/stl_util.h" | 9 #include "base/stl_util.h" |
10 #include "net/base/net_errors.h" | 10 #include "net/base/net_errors.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 #include "net/quic/test_tools/quic_framer_peer.h" | 24 #include "net/quic/test_tools/quic_framer_peer.h" |
25 #include "net/quic/test_tools/quic_packet_creator_peer.h" | 25 #include "net/quic/test_tools/quic_packet_creator_peer.h" |
26 #include "net/quic/test_tools/quic_sent_packet_manager_peer.h" | 26 #include "net/quic/test_tools/quic_sent_packet_manager_peer.h" |
27 #include "net/quic/test_tools/quic_test_utils.h" | 27 #include "net/quic/test_tools/quic_test_utils.h" |
28 #include "net/quic/test_tools/simple_quic_framer.h" | 28 #include "net/quic/test_tools/simple_quic_framer.h" |
29 #include "testing/gmock/include/gmock/gmock.h" | 29 #include "testing/gmock/include/gmock/gmock.h" |
30 #include "testing/gtest/include/gtest/gtest.h" | 30 #include "testing/gtest/include/gtest/gtest.h" |
31 | 31 |
32 using base::StringPiece; | 32 using base::StringPiece; |
33 using std::map; | 33 using std::map; |
| 34 using std::string; |
34 using std::vector; | 35 using std::vector; |
35 using testing::AnyNumber; | 36 using testing::AnyNumber; |
36 using testing::AtLeast; | 37 using testing::AtLeast; |
37 using testing::ContainerEq; | 38 using testing::ContainerEq; |
38 using testing::Contains; | 39 using testing::Contains; |
39 using testing::DoAll; | 40 using testing::DoAll; |
40 using testing::InSequence; | 41 using testing::InSequence; |
41 using testing::InvokeWithoutArgs; | 42 using testing::InvokeWithoutArgs; |
42 using testing::NiceMock; | 43 using testing::NiceMock; |
43 using testing::Ref; | 44 using testing::Ref; |
(...skipping 4210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4254 QuicBlockedFrame blocked; | 4255 QuicBlockedFrame blocked; |
4255 blocked.stream_id = 3; | 4256 blocked.stream_id = 3; |
4256 EXPECT_CALL(visitor_, OnBlockedFrames(_)); | 4257 EXPECT_CALL(visitor_, OnBlockedFrames(_)); |
4257 ProcessFramePacket(QuicFrame(&blocked)); | 4258 ProcessFramePacket(QuicFrame(&blocked)); |
4258 EXPECT_TRUE(ack_alarm->IsSet()); | 4259 EXPECT_TRUE(ack_alarm->IsSet()); |
4259 } | 4260 } |
4260 | 4261 |
4261 } // namespace | 4262 } // namespace |
4262 } // namespace test | 4263 } // namespace test |
4263 } // namespace net | 4264 } // namespace net |
OLD | NEW |