OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/chromium/bidirectional_stream_quic_impl.h" | 5 #include "net/quic/chromium/bidirectional_stream_quic_impl.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/callback_helpers.h" | 9 #include "base/callback_helpers.h" |
10 #include "base/memory/ptr_util.h" | 10 #include "base/memory/ptr_util.h" |
(...skipping 23 matching lines...) Expand all Loading... |
34 #include "net/quic/core/crypto/quic_decrypter.h" | 34 #include "net/quic/core/crypto/quic_decrypter.h" |
35 #include "net/quic/core/crypto/quic_encrypter.h" | 35 #include "net/quic/core/crypto/quic_encrypter.h" |
36 #include "net/quic/core/quic_connection.h" | 36 #include "net/quic/core/quic_connection.h" |
37 #include "net/quic/core/spdy_utils.h" | 37 #include "net/quic/core/spdy_utils.h" |
38 #include "net/quic/platform/api/quic_string_piece.h" | 38 #include "net/quic/platform/api/quic_string_piece.h" |
39 #include "net/quic/platform/api/quic_text_utils.h" | 39 #include "net/quic/platform/api/quic_text_utils.h" |
40 #include "net/quic/test_tools/crypto_test_utils.h" | 40 #include "net/quic/test_tools/crypto_test_utils.h" |
41 #include "net/quic/test_tools/mock_clock.h" | 41 #include "net/quic/test_tools/mock_clock.h" |
42 #include "net/quic/test_tools/mock_random.h" | 42 #include "net/quic/test_tools/mock_random.h" |
43 #include "net/quic/test_tools/quic_connection_peer.h" | 43 #include "net/quic/test_tools/quic_connection_peer.h" |
| 44 #include "net/quic/test_tools/quic_spdy_session_peer.h" |
44 #include "net/quic/test_tools/quic_test_utils.h" | 45 #include "net/quic/test_tools/quic_test_utils.h" |
45 #include "net/socket/socket_test_util.h" | 46 #include "net/socket/socket_test_util.h" |
46 #include "net/test/gtest_util.h" | 47 #include "net/test/gtest_util.h" |
47 #include "testing/gmock/include/gmock/gmock.h" | 48 #include "testing/gmock/include/gmock/gmock.h" |
48 #include "testing/gtest/include/gtest/gtest.h" | 49 #include "testing/gtest/include/gtest/gtest.h" |
49 | 50 |
50 namespace net { | 51 namespace net { |
51 | 52 |
52 namespace test { | 53 namespace test { |
53 | 54 |
(...skipping 1768 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1822 | 1823 |
1823 base::RunLoop().RunUntilIdle(); | 1824 base::RunLoop().RunUntilIdle(); |
1824 | 1825 |
1825 EXPECT_EQ(1, delegate->on_data_read_count()); | 1826 EXPECT_EQ(1, delegate->on_data_read_count()); |
1826 EXPECT_EQ(0, delegate->on_data_sent_count()); | 1827 EXPECT_EQ(0, delegate->on_data_sent_count()); |
1827 } | 1828 } |
1828 | 1829 |
1829 } // namespace test | 1830 } // namespace test |
1830 | 1831 |
1831 } // namespace net | 1832 } // namespace net |
OLD | NEW |