| 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 <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/message_loop/message_loop_proxy.h" | |
| 11 #include "base/run_loop.h" | 10 #include "base/run_loop.h" |
| 12 #include "base/stl_util.h" | 11 #include "base/stl_util.h" |
| 13 #include "crypto/ec_private_key.h" | 12 #include "crypto/ec_private_key.h" |
| 14 #include "crypto/ec_signature_creator.h" | 13 #include "crypto/ec_signature_creator.h" |
| 15 #include "crypto/signature_creator.h" | 14 #include "crypto/signature_creator.h" |
| 16 #include "net/base/chunked_upload_data_stream.h" | 15 #include "net/base/chunked_upload_data_stream.h" |
| 17 #include "net/base/load_timing_info.h" | 16 #include "net/base/load_timing_info.h" |
| 18 #include "net/base/load_timing_info_test_util.h" | 17 #include "net/base/load_timing_info_test_util.h" |
| 19 #include "net/base/test_completion_callback.h" | 18 #include "net/base/test_completion_callback.h" |
| 20 #include "net/cert/asn1_util.h" | 19 #include "net/cert/asn1_util.h" |
| (...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 748 ASSERT_TRUE(response.headers.get()); | 747 ASSERT_TRUE(response.headers.get()); |
| 749 ASSERT_EQ(200, response.headers->response_code()); | 748 ASSERT_EQ(200, response.headers->response_code()); |
| 750 EXPECT_TRUE(deterministic_data_->AllReadDataConsumed()); | 749 EXPECT_TRUE(deterministic_data_->AllReadDataConsumed()); |
| 751 EXPECT_TRUE(deterministic_data_->AllWriteDataConsumed()); | 750 EXPECT_TRUE(deterministic_data_->AllWriteDataConsumed()); |
| 752 } | 751 } |
| 753 | 752 |
| 754 // TODO(willchan): Write a longer test for SpdyStream that exercises all | 753 // TODO(willchan): Write a longer test for SpdyStream that exercises all |
| 755 // methods. | 754 // methods. |
| 756 | 755 |
| 757 } // namespace net | 756 } // namespace net |
| OLD | NEW |