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_session.h" | 5 #include "net/quic/quic_session.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 #include <vector> | |
9 | 8 |
10 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
11 #include "base/containers/hash_tables.h" | 10 #include "base/containers/hash_tables.h" |
12 #include "base/rand_util.h" | 11 #include "base/rand_util.h" |
13 #include "base/stl_util.h" | 12 #include "base/stl_util.h" |
14 #include "base/strings/string_number_conversions.h" | 13 #include "base/strings/string_number_conversions.h" |
15 #include "net/quic/crypto/crypto_protocol.h" | 14 #include "net/quic/crypto/crypto_protocol.h" |
16 #include "net/quic/quic_crypto_stream.h" | 15 #include "net/quic/quic_crypto_stream.h" |
17 #include "net/quic/quic_flags.h" | 16 #include "net/quic/quic_flags.h" |
18 #include "net/quic/quic_protocol.h" | 17 #include "net/quic/quic_protocol.h" |
19 #include "net/quic/quic_utils.h" | 18 #include "net/quic/quic_utils.h" |
20 #include "net/quic/reliable_quic_stream.h" | 19 #include "net/quic/reliable_quic_stream.h" |
21 #include "net/quic/test_tools/quic_config_peer.h" | 20 #include "net/quic/test_tools/quic_config_peer.h" |
22 #include "net/quic/test_tools/quic_connection_peer.h" | 21 #include "net/quic/test_tools/quic_connection_peer.h" |
23 #include "net/quic/test_tools/quic_data_stream_peer.h" | 22 #include "net/quic/test_tools/quic_data_stream_peer.h" |
24 #include "net/quic/test_tools/quic_flow_controller_peer.h" | 23 #include "net/quic/test_tools/quic_flow_controller_peer.h" |
25 #include "net/quic/test_tools/quic_session_peer.h" | 24 #include "net/quic/test_tools/quic_session_peer.h" |
26 #include "net/quic/test_tools/quic_test_utils.h" | 25 #include "net/quic/test_tools/quic_test_utils.h" |
27 #include "net/quic/test_tools/reliable_quic_stream_peer.h" | 26 #include "net/quic/test_tools/reliable_quic_stream_peer.h" |
28 #include "net/spdy/spdy_framer.h" | 27 #include "net/spdy/spdy_framer.h" |
29 #include "net/test/gtest_util.h" | 28 #include "net/test/gtest_util.h" |
30 #include "testing/gmock/include/gmock/gmock.h" | 29 #include "testing/gmock/include/gmock/gmock.h" |
31 #include "testing/gmock_mutant.h" | 30 #include "testing/gmock_mutant.h" |
32 #include "testing/gtest/include/gtest/gtest.h" | 31 #include "testing/gtest/include/gtest/gtest.h" |
33 | 32 |
34 using base::hash_map; | 33 using base::hash_map; |
35 using std::set; | 34 using std::set; |
| 35 using std::string; |
36 using std::vector; | 36 using std::vector; |
37 using testing::CreateFunctor; | 37 using testing::CreateFunctor; |
38 using testing::InSequence; | 38 using testing::InSequence; |
39 using testing::Invoke; | 39 using testing::Invoke; |
40 using testing::Return; | 40 using testing::Return; |
41 using testing::StrictMock; | 41 using testing::StrictMock; |
42 using testing::_; | 42 using testing::_; |
43 | 43 |
44 namespace net { | 44 namespace net { |
45 namespace test { | 45 namespace test { |
(...skipping 968 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1014 } | 1014 } |
1015 | 1015 |
1016 // Called after any new data is received by the session, and triggers the call | 1016 // Called after any new data is received by the session, and triggers the call |
1017 // to close the connection. | 1017 // to close the connection. |
1018 session_.PostProcessAfterData(); | 1018 session_.PostProcessAfterData(); |
1019 } | 1019 } |
1020 | 1020 |
1021 } // namespace | 1021 } // namespace |
1022 } // namespace test | 1022 } // namespace test |
1023 } // namespace net | 1023 } // namespace net |
OLD | NEW |