| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/browser/geolocation/network_location_provider.h" | 5 #include "chrome/browser/geolocation/network_location_provider.h" |
| 6 | 6 |
| 7 #include "base/json/json_reader.h" | 7 #include "base/json/json_reader.h" |
| 8 #include "base/scoped_ptr.h" | 8 #include "base/scoped_ptr.h" |
| 9 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
| 10 #include "base/values.h" | 10 #include "base/values.h" |
| (...skipping 761 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 772 const int evicted = i - kCacheSize; | 772 const int evicted = i - kCacheSize; |
| 773 EXPECT_FALSE(cache.FindPosition(CreateReferenceRouterData(2), | 773 EXPECT_FALSE(cache.FindPosition(CreateReferenceRouterData(2), |
| 774 CreateReferenceWifiScanData(evicted))); | 774 CreateReferenceWifiScanData(evicted))); |
| 775 EXPECT_TRUE(cache.FindPosition(CreateReferenceRouterData(2), | 775 EXPECT_TRUE(cache.FindPosition(CreateReferenceRouterData(2), |
| 776 CreateReferenceWifiScanData(evicted + 1))); | 776 CreateReferenceWifiScanData(evicted + 1))); |
| 777 } | 777 } |
| 778 } | 778 } |
| 779 } | 779 } |
| 780 | 780 |
| 781 } // namespace | 781 } // namespace |
| OLD | NEW |