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

Unified Diff: components/metrics/net/wifi_access_point_info_provider_chromeos.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn Created 5 years 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 side-by-side diff with in-line comments
Download patch
Index: components/metrics/net/wifi_access_point_info_provider_chromeos.cc
diff --git a/components/metrics/net/wifi_access_point_info_provider_chromeos.cc b/components/metrics/net/wifi_access_point_info_provider_chromeos.cc
index 16471bc12ee39c2239c42c257bb3478352d1a48b..3654e93ef4fc7ad135238b3d51027beedb01b066 100644
--- a/components/metrics/net/wifi_access_point_info_provider_chromeos.cc
+++ b/components/metrics/net/wifi_access_point_info_provider_chromeos.cc
@@ -4,6 +4,8 @@
#include "components/metrics/net/wifi_access_point_info_provider_chromeos.h"
+#include <stdint.h>
+
#include "base/bind.h"
#include "base/location.h"
#include "base/strings/string_number_conversions.h"
@@ -72,7 +74,7 @@ void WifiAccessPointInfoProviderChromeos::ParseInfo(
return;
// Filter out BSSID with local bit set in the first byte.
- uint32 first_octet;
+ uint32_t first_octet;
if (!base::HexStringToUInt(bssid.substr(0, 2), &first_octet))
NOTREACHED();
if (first_octet & 0x2)
« no previous file with comments | « components/metrics/net/wifi_access_point_info_provider_chromeos.h ('k') | components/metrics/persisted_logs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698