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/spdy_http_stream.h" |
6 | 6 |
7 #include "crypto/ec_private_key.h" | 7 #include "crypto/ec_private_key.h" |
8 #include "crypto/ec_signature_creator.h" | 8 #include "crypto/ec_signature_creator.h" |
9 #include "crypto/signature_creator.h" | 9 #include "crypto/signature_creator.h" |
10 #include "net/base/asn1_util.h" | 10 #include "net/base/asn1_util.h" |
11 #include "net/base/capturing_net_log.h" | 11 #include "net/base/capturing_net_log.h" |
12 #include "net/base/default_server_bound_cert_store.h" | |
13 #include "net/base/load_timing_info.h" | 12 #include "net/base/load_timing_info.h" |
14 #include "net/base/load_timing_info_test_util.h" | 13 #include "net/base/load_timing_info_test_util.h" |
15 #include "net/base/upload_data_stream.h" | 14 #include "net/base/upload_data_stream.h" |
16 #include "net/base/upload_element_reader.h" | 15 #include "net/base/upload_element_reader.h" |
17 #include "net/http/http_request_info.h" | 16 #include "net/http/http_request_info.h" |
18 #include "net/http/http_response_headers.h" | 17 #include "net/http/http_response_headers.h" |
19 #include "net/http/http_response_info.h" | 18 #include "net/http/http_response_info.h" |
20 #include "net/spdy/spdy_session.h" | 19 #include "net/spdy/spdy_session.h" |
21 #include "net/spdy/spdy_test_util_spdy2.h" | 20 #include "net/spdy/spdy_test_util_spdy2.h" |
| 21 #include "net/ssl/default_server_bound_cert_store.h" |
22 #include "testing/gtest/include/gtest/gtest.h" | 22 #include "testing/gtest/include/gtest/gtest.h" |
23 | 23 |
24 using namespace net::test_spdy2; | 24 using namespace net::test_spdy2; |
25 | 25 |
26 namespace net { | 26 namespace net { |
27 | 27 |
28 namespace { | 28 namespace { |
29 | 29 |
30 // Tests the load timing of a stream that's connected and is not the first | 30 // Tests the load timing of a stream that's connected and is not the first |
31 // request sent on a connection. | 31 // request sent on a connection. |
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
510 // pool anymore. | 510 // pool anymore. |
511 EXPECT_FALSE(http_session_->spdy_session_pool()->HasSession(pair)); | 511 EXPECT_FALSE(http_session_->spdy_session_pool()->HasSession(pair)); |
512 EXPECT_TRUE(data()->at_read_eof()); | 512 EXPECT_TRUE(data()->at_read_eof()); |
513 EXPECT_TRUE(data()->at_write_eof()); | 513 EXPECT_TRUE(data()->at_write_eof()); |
514 } | 514 } |
515 | 515 |
516 // TODO(willchan): Write a longer test for SpdyStream that exercises all | 516 // TODO(willchan): Write a longer test for SpdyStream that exercises all |
517 // methods. | 517 // methods. |
518 | 518 |
519 } // namespace net | 519 } // namespace net |
OLD | NEW |