| 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_server_properties_impl.h" | 5 #include "net/http/http_server_properties_impl.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/containers/hash_tables.h" | 11 #include "base/containers/hash_tables.h" |
| 12 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/values.h" | 14 #include "base/values.h" |
| 15 #include "net/base/host_port_pair.h" | 15 #include "net/base/host_port_pair.h" |
| 16 #include "net/base/ip_address_number.h" |
| 16 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" |
| 17 | 18 |
| 18 namespace base { | 19 namespace base { |
| 19 class ListValue; | 20 class ListValue; |
| 20 } | 21 } |
| 21 | 22 |
| 22 namespace net { | 23 namespace net { |
| 23 | 24 |
| 24 const int kMaxSupportsSpdyServerHosts = 500; | 25 const int kMaxSupportsSpdyServerHosts = 500; |
| 25 | 26 |
| (...skipping 762 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 788 EXPECT_EQ(100, stats2->bandwidth_estimate.ToBitsPerSecond()); | 789 EXPECT_EQ(100, stats2->bandwidth_estimate.ToBitsPerSecond()); |
| 789 | 790 |
| 790 impl_.Clear(); | 791 impl_.Clear(); |
| 791 const ServerNetworkStats* stats3 = impl_.GetServerNetworkStats(foo_server); | 792 const ServerNetworkStats* stats3 = impl_.GetServerNetworkStats(foo_server); |
| 792 EXPECT_EQ(NULL, stats3); | 793 EXPECT_EQ(NULL, stats3); |
| 793 } | 794 } |
| 794 | 795 |
| 795 } // namespace | 796 } // namespace |
| 796 | 797 |
| 797 } // namespace net | 798 } // namespace net |
| OLD | NEW |