| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "content/browser/geolocation/wifi_data.h" | 5 #include "content/browser/geolocation/wifi_data.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 7 #include <stdint.h> | 8 #include <stdint.h> |
| 8 | 9 |
| 9 #include <algorithm> | 10 #include <algorithm> |
| 10 #include <limits> | 11 #include <limits> |
| 11 | 12 |
| 12 #include "base/logging.h" | 13 #include "base/logging.h" |
| 13 | 14 |
| 14 namespace content { | 15 namespace content { |
| 15 | 16 |
| 16 AccessPointData::AccessPointData() | 17 AccessPointData::AccessPointData() |
| (...skipping 28 matching lines...) Expand all Loading... |
| 45 ++num_common; | 46 ++num_common; |
| 46 } | 47 } |
| 47 } | 48 } |
| 48 DCHECK(num_common <= min_ap_count); | 49 DCHECK(num_common <= min_ap_count); |
| 49 | 50 |
| 50 // Test how many have changed. | 51 // Test how many have changed. |
| 51 return max_ap_count > num_common + difference_threadhold; | 52 return max_ap_count > num_common + difference_threadhold; |
| 52 } | 53 } |
| 53 | 54 |
| 54 } // namespace content | 55 } // namespace content |
| OLD | NEW |