| 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 "chrome/browser/geolocation/device_data_provider.h" | 5 #include "content/browser/geolocation/device_data_provider.h" |
| 6 | 6 |
| 7 namespace { | 7 namespace { |
| 8 | 8 |
| 9 bool CellDataMatches(const CellData &data1, const CellData &data2) { | 9 bool CellDataMatches(const CellData &data1, const CellData &data2) { |
| 10 return data1.Matches(data2); | 10 return data1.Matches(data2); |
| 11 } | 11 } |
| 12 | 12 |
| 13 } // namespace | 13 } // namespace |
| 14 | 14 |
| 15 CellData::CellData() | 15 CellData::CellData() |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 while (iter1 != router_data.end()) { | 96 while (iter1 != router_data.end()) { |
| 97 if (iter1->mac_address != iter2->mac_address) { | 97 if (iter1->mac_address != iter2->mac_address) { |
| 98 // There is a difference between the sets of routers. | 98 // There is a difference between the sets of routers. |
| 99 return true; | 99 return true; |
| 100 } | 100 } |
| 101 ++iter1; | 101 ++iter1; |
| 102 ++iter2; | 102 ++iter2; |
| 103 } | 103 } |
| 104 return false; | 104 return false; |
| 105 } | 105 } |
| OLD | NEW |