OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/base/host_cache.h" | 5 #include "net/base/host_cache.h" |
6 | 6 |
7 #include "base/format_macros.h" | 7 #include "base/format_macros.h" |
8 #include "base/stl_util-inl.h" | 8 #include "base/stl_util.h" |
9 #include "base/string_util.h" | 9 #include "base/string_util.h" |
10 #include "base/stringprintf.h" | 10 #include "base/stringprintf.h" |
11 #include "net/base/net_errors.h" | 11 #include "net/base/net_errors.h" |
12 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
13 | 13 |
14 namespace net { | 14 namespace net { |
15 | 15 |
16 namespace { | 16 namespace { |
17 const int kMaxCacheEntries = 10; | 17 const int kMaxCacheEntries = 10; |
18 | 18 |
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
474 EXPECT_TRUE(key2 < key1); | 474 EXPECT_TRUE(key2 < key1); |
475 EXPECT_FALSE(key2 == key1); | 475 EXPECT_FALSE(key2 == key1); |
476 break; | 476 break; |
477 default: | 477 default: |
478 FAIL() << "Invalid expectation. Can be only -1, 0, 1"; | 478 FAIL() << "Invalid expectation. Can be only -1, 0, 1"; |
479 } | 479 } |
480 } | 480 } |
481 } | 481 } |
482 | 482 |
483 } // namespace net | 483 } // namespace net |
OLD | NEW |