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/http/http_pipelined_host_impl.h" | 5 #include "net/http/http_pipelined_host_impl.h" |
6 | 6 |
7 #include "base/memory/scoped_ptr.h" | 7 #include "base/memory/scoped_ptr.h" |
8 #include "net/base/ssl_config_service.h" | |
9 #include "net/http/http_pipelined_connection.h" | 8 #include "net/http/http_pipelined_connection.h" |
10 #include "net/http/http_pipelined_host_test_util.h" | 9 #include "net/http/http_pipelined_host_test_util.h" |
11 #include "net/proxy/proxy_info.h" | 10 #include "net/proxy/proxy_info.h" |
| 11 #include "net/ssl/ssl_config_service.h" |
12 #include "testing/gmock/include/gmock/gmock.h" | 12 #include "testing/gmock/include/gmock/gmock.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
14 | 14 |
15 using testing::_; | 15 using testing::_; |
16 using testing::NiceMock; | 16 using testing::NiceMock; |
17 using testing::Ref; | 17 using testing::Ref; |
18 using testing::Return; | 18 using testing::Return; |
19 using testing::ReturnNull; | 19 using testing::ReturnNull; |
20 | 20 |
21 namespace net { | 21 namespace net { |
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 .Times(1); | 299 .Times(1); |
300 host_->OnPipelineFeedback(pipeline, | 300 host_->OnPipelineFeedback(pipeline, |
301 HttpPipelinedConnection::PIPELINE_SOCKET_ERROR); | 301 HttpPipelinedConnection::PIPELINE_SOCKET_ERROR); |
302 | 302 |
303 ClearTestPipeline(pipeline); | 303 ClearTestPipeline(pipeline); |
304 } | 304 } |
305 | 305 |
306 } // anonymous namespace | 306 } // anonymous namespace |
307 | 307 |
308 } // namespace net | 308 } // namespace net |
OLD | NEW |