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_pool.h" | 5 #include "net/http/http_pipelined_host_pool.h" |
6 | 6 |
7 #include "base/memory/scoped_ptr.h" | 7 #include "base/memory/scoped_ptr.h" |
8 #include "base/rand_util.h" | 8 #include "base/rand_util.h" |
9 #include "net/base/ssl_config_service.h" | |
10 #include "net/http/http_pipelined_host.h" | 9 #include "net/http/http_pipelined_host.h" |
11 #include "net/http/http_pipelined_host_capability.h" | 10 #include "net/http/http_pipelined_host_capability.h" |
12 #include "net/http/http_server_properties_impl.h" | 11 #include "net/http/http_server_properties_impl.h" |
13 #include "net/proxy/proxy_info.h" | 12 #include "net/proxy/proxy_info.h" |
| 13 #include "net/ssl/ssl_config_service.h" |
14 #include "testing/gmock/include/gmock/gmock.h" | 14 #include "testing/gmock/include/gmock/gmock.h" |
15 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
16 | 16 |
17 using testing::_; | 17 using testing::_; |
18 using testing::Ref; | 18 using testing::Ref; |
19 using testing::Return; | 19 using testing::Return; |
20 using testing::ReturnNull; | 20 using testing::ReturnNull; |
21 | 21 |
22 namespace net { | 22 namespace net { |
23 | 23 |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 pool_->OnHostIdle(host1); | 252 pool_->OnHostIdle(host1); |
253 pool_->OnHostIdle(host2); | 253 pool_->OnHostIdle(host2); |
254 pool_->OnHostIdle(host3); | 254 pool_->OnHostIdle(host3); |
255 | 255 |
256 delete host_; // Must manually delete, because it's never added to |pool_|. | 256 delete host_; // Must manually delete, because it's never added to |pool_|. |
257 } | 257 } |
258 | 258 |
259 } // anonymous namespace | 259 } // anonymous namespace |
260 | 260 |
261 } // namespace net | 261 } // namespace net |
OLD | NEW |