| 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" | |
| 11 #include "net/base/capturing_net_log.h" | 10 #include "net/base/capturing_net_log.h" |
| 12 #include "net/base/load_timing_info.h" | 11 #include "net/base/load_timing_info.h" |
| 13 #include "net/base/load_timing_info_test_util.h" | 12 #include "net/base/load_timing_info_test_util.h" |
| 14 #include "net/base/upload_data_stream.h" | 13 #include "net/base/upload_data_stream.h" |
| 15 #include "net/base/upload_element_reader.h" | 14 #include "net/base/upload_element_reader.h" |
| 15 #include "net/cert/asn1_util.h" |
| 16 #include "net/http/http_request_info.h" | 16 #include "net/http/http_request_info.h" |
| 17 #include "net/http/http_response_headers.h" | 17 #include "net/http/http_response_headers.h" |
| 18 #include "net/http/http_response_info.h" | 18 #include "net/http/http_response_info.h" |
| 19 #include "net/spdy/spdy_session.h" | 19 #include "net/spdy/spdy_session.h" |
| 20 #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" | 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 |
| (...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 514 // pool anymore. | 514 // pool anymore. |
| 515 EXPECT_FALSE(http_session_->spdy_session_pool()->HasSession(pair)); | 515 EXPECT_FALSE(http_session_->spdy_session_pool()->HasSession(pair)); |
| 516 EXPECT_TRUE(data()->at_read_eof()); | 516 EXPECT_TRUE(data()->at_read_eof()); |
| 517 EXPECT_TRUE(data()->at_write_eof()); | 517 EXPECT_TRUE(data()->at_write_eof()); |
| 518 } | 518 } |
| 519 | 519 |
| 520 // TODO(willchan): Write a longer test for SpdyStream that exercises all | 520 // TODO(willchan): Write a longer test for SpdyStream that exercises all |
| 521 // methods. | 521 // methods. |
| 522 | 522 |
| 523 } // namespace net | 523 } // namespace net |
| OLD | NEW |