diff options
author | timvolodine <timvolodine@chromium.org> | 2014-09-15 05:55:33 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-15 12:57:42 +0000 |
commit | 195037f04dc4627ca7aaf523ad035522e01ab7ae (patch) | |
tree | 51c82fc5573a59459d31be7e8ff891a331a21d49 /content/browser/geolocation | |
parent | 7a06cb2e0d3edf4a7bd4e94f0a6292d13b871489 (diff) | |
download | chromium_src-195037f04dc4627ca7aaf523ad035522e01ab7ae.zip chromium_src-195037f04dc4627ca7aaf523ad035522e01ab7ae.tar.gz chromium_src-195037f04dc4627ca7aaf523ad035522e01ab7ae.tar.bz2 |
Fix the number of buckets in Net.Wifi.InterfaceCount UMA histogram.
The number of buckets should be one more than currently specified.
Otherwise the histogram buckets the values 3 and 4 in the same bucket.
BUG=
Review URL: https://codereview.chromium.org/547693002
Cr-Commit-Position: refs/heads/master@{#294808}
Diffstat (limited to 'content/browser/geolocation')
-rw-r--r-- | content/browser/geolocation/wifi_data_provider_corewlan_mac.mm | 2 | ||||
-rw-r--r-- | content/browser/geolocation/wifi_data_provider_win.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/content/browser/geolocation/wifi_data_provider_corewlan_mac.mm b/content/browser/geolocation/wifi_data_provider_corewlan_mac.mm index 81930e0..040f215 100644 --- a/content/browser/geolocation/wifi_data_provider_corewlan_mac.mm +++ b/content/browser/geolocation/wifi_data_provider_corewlan_mac.mm @@ -168,7 +168,7 @@ bool CoreWlanApi::GetAccessPointData(WifiData::AccessPointDataSet* data) { [supported_interfaces count] - interface_error_count, 1, 5, - 5); + 6); // Return true even if some interfaces failed to scan, so long as at least // one interface did not fail. diff --git a/content/browser/geolocation/wifi_data_provider_win.cc b/content/browser/geolocation/wifi_data_provider_win.cc index 6f168fc..66c07c0 100644 --- a/content/browser/geolocation/wifi_data_provider_win.cc +++ b/content/browser/geolocation/wifi_data_provider_win.cc @@ -245,7 +245,7 @@ void WindowsWlanApi::LogWlanInterfaceCount(int count) { count, 1, 5, - 5); + 6); } bool WindowsWlanApi::GetAccessPointData( |