| 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_forced.h" | 5 #include "net/http/http_pipelined_host_forced.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_host_test_util.h" | 8 #include "net/http/http_pipelined_host_test_util.h" |
| 10 #include "net/proxy/proxy_info.h" | 9 #include "net/proxy/proxy_info.h" |
| 11 #include "net/socket/client_socket_handle.h" | 10 #include "net/socket/client_socket_handle.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::NiceMock; | 15 using testing::NiceMock; |
| 16 using testing::Ref; | 16 using testing::Ref; |
| 17 using testing::Return; | 17 using testing::Return; |
| 18 | 18 |
| 19 namespace net { | 19 namespace net { |
| 20 | 20 |
| 21 namespace { | 21 namespace { |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 EXPECT_CALL(delegate_, OnHostHasAdditionalCapacity(host_.get())) | 97 EXPECT_CALL(delegate_, OnHostHasAdditionalCapacity(host_.get())) |
| 98 .Times(1); | 98 .Times(1); |
| 99 EXPECT_CALL(delegate_, OnHostIdle(host_.get())) | 99 EXPECT_CALL(delegate_, OnHostIdle(host_.get())) |
| 100 .Times(1); | 100 .Times(1); |
| 101 host_->OnPipelineHasCapacity(pipeline); | 101 host_->OnPipelineHasCapacity(pipeline); |
| 102 } | 102 } |
| 103 | 103 |
| 104 } // anonymous namespace | 104 } // anonymous namespace |
| 105 | 105 |
| 106 } // namespace net | 106 } // namespace net |
| OLD | NEW |