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/spdy/spdy_http_stream.h" | 5 #include "net/spdy/chromium/spdy_http_stream.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
11 #include "base/run_loop.h" | 11 #include "base/run_loop.h" |
12 #include "base/stl_util.h" | 12 #include "base/stl_util.h" |
13 #include "base/threading/thread_task_runner_handle.h" | 13 #include "base/threading/thread_task_runner_handle.h" |
14 #include "crypto/ec_private_key.h" | 14 #include "crypto/ec_private_key.h" |
15 #include "crypto/ec_signature_creator.h" | 15 #include "crypto/ec_signature_creator.h" |
16 #include "crypto/signature_creator.h" | 16 #include "crypto/signature_creator.h" |
17 #include "net/base/chunked_upload_data_stream.h" | 17 #include "net/base/chunked_upload_data_stream.h" |
18 #include "net/base/load_timing_info.h" | 18 #include "net/base/load_timing_info.h" |
19 #include "net/base/load_timing_info_test_util.h" | 19 #include "net/base/load_timing_info_test_util.h" |
20 #include "net/base/test_completion_callback.h" | 20 #include "net/base/test_completion_callback.h" |
21 #include "net/cert/asn1_util.h" | 21 #include "net/cert/asn1_util.h" |
22 #include "net/http/http_request_info.h" | 22 #include "net/http/http_request_info.h" |
23 #include "net/http/http_response_headers.h" | 23 #include "net/http/http_response_headers.h" |
24 #include "net/http/http_response_info.h" | 24 #include "net/http/http_response_info.h" |
25 #include "net/log/net_log_with_source.h" | 25 #include "net/log/net_log_with_source.h" |
26 #include "net/log/test_net_log.h" | 26 #include "net/log/test_net_log.h" |
27 #include "net/socket/socket_test_util.h" | 27 #include "net/socket/socket_test_util.h" |
| 28 #include "net/spdy/chromium/spdy_http_utils.h" |
| 29 #include "net/spdy/chromium/spdy_session.h" |
| 30 #include "net/spdy/chromium/spdy_test_util_common.h" |
28 #include "net/spdy/platform/api/spdy_string.h" | 31 #include "net/spdy/platform/api/spdy_string.h" |
29 #include "net/spdy/spdy_http_utils.h" | |
30 #include "net/spdy/spdy_session.h" | |
31 #include "net/spdy/spdy_test_util_common.h" | |
32 #include "net/ssl/default_channel_id_store.h" | 32 #include "net/ssl/default_channel_id_store.h" |
33 #include "net/test/cert_test_util.h" | 33 #include "net/test/cert_test_util.h" |
34 #include "net/test/gtest_util.h" | 34 #include "net/test/gtest_util.h" |
35 #include "net/test/test_data_directory.h" | 35 #include "net/test/test_data_directory.h" |
36 #include "testing/gmock/include/gmock/gmock.h" | 36 #include "testing/gmock/include/gmock/gmock.h" |
37 #include "testing/gtest/include/gtest/gtest.h" | 37 #include "testing/gtest/include/gtest/gtest.h" |
38 | 38 |
39 namespace net { | 39 namespace net { |
40 | 40 |
41 namespace test { | 41 namespace test { |
(...skipping 1019 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1061 | 1061 |
1062 EXPECT_FALSE(HasSpdySession(http_session_->spdy_session_pool(), key_)); | 1062 EXPECT_FALSE(HasSpdySession(http_session_->spdy_session_pool(), key_)); |
1063 } | 1063 } |
1064 | 1064 |
1065 // TODO(willchan): Write a longer test for SpdyStream that exercises all | 1065 // TODO(willchan): Write a longer test for SpdyStream that exercises all |
1066 // methods. | 1066 // methods. |
1067 | 1067 |
1068 } // namespace test | 1068 } // namespace test |
1069 | 1069 |
1070 } // namespace net | 1070 } // namespace net |
OLD | NEW |