Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Side by Side Diff: content/browser/geolocation/wifi_data.cc

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « content/browser/geolocation/network_location_request.h ('k') | content/browser/geolocation/wifi_data_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698