| 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/socket/client_socket_pool_base.h" | 5 #include "net/socket/client_socket_pool_base.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
| (...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 556 } | 556 } |
| 557 | 557 |
| 558 virtual void AddLayeredPool(LayeredPool* pool) OVERRIDE { | 558 virtual void AddLayeredPool(LayeredPool* pool) OVERRIDE { |
| 559 base_.AddLayeredPool(pool); | 559 base_.AddLayeredPool(pool); |
| 560 } | 560 } |
| 561 | 561 |
| 562 virtual void RemoveLayeredPool(LayeredPool* pool) OVERRIDE { | 562 virtual void RemoveLayeredPool(LayeredPool* pool) OVERRIDE { |
| 563 base_.RemoveLayeredPool(pool); | 563 base_.RemoveLayeredPool(pool); |
| 564 } | 564 } |
| 565 | 565 |
| 566 virtual DictionaryValue* GetInfoAsValue( | 566 virtual base::DictionaryValue* GetInfoAsValue( |
| 567 const std::string& name, | 567 const std::string& name, |
| 568 const std::string& type, | 568 const std::string& type, |
| 569 bool include_nested_pools) const OVERRIDE { | 569 bool include_nested_pools) const OVERRIDE { |
| 570 return base_.GetInfoAsValue(name, type); | 570 return base_.GetInfoAsValue(name, type); |
| 571 } | 571 } |
| 572 | 572 |
| 573 virtual base::TimeDelta ConnectionTimeout() const OVERRIDE { | 573 virtual base::TimeDelta ConnectionTimeout() const OVERRIDE { |
| 574 return base_.ConnectionTimeout(); | 574 return base_.ConnectionTimeout(); |
| 575 } | 575 } |
| 576 | 576 |
| (...skipping 3433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4010 EXPECT_EQ(1, GetOrderOfRequest(5)); | 4010 EXPECT_EQ(1, GetOrderOfRequest(5)); |
| 4011 EXPECT_EQ(2, GetOrderOfRequest(3)); | 4011 EXPECT_EQ(2, GetOrderOfRequest(3)); |
| 4012 EXPECT_EQ(3, GetOrderOfRequest(4)); | 4012 EXPECT_EQ(3, GetOrderOfRequest(4)); |
| 4013 EXPECT_EQ(4, GetOrderOfRequest(1)); | 4013 EXPECT_EQ(4, GetOrderOfRequest(1)); |
| 4014 EXPECT_EQ(5, GetOrderOfRequest(2)); | 4014 EXPECT_EQ(5, GetOrderOfRequest(2)); |
| 4015 } | 4015 } |
| 4016 | 4016 |
| 4017 } // namespace | 4017 } // namespace |
| 4018 | 4018 |
| 4019 } // namespace net | 4019 } // namespace net |
| OLD | NEW |