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

Unified Diff: components/wifi/network_properties.h

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « components/webusb/webusb_detector.h ('k') | components/wifi/network_properties.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/wifi/network_properties.h
diff --git a/components/wifi/network_properties.h b/components/wifi/network_properties.h
index 8483e98904a7d20c1eb362d9f1746ef81bedf185..8f90768e76900f26b27389cf9a63f7dc06a83ed5 100644
--- a/components/wifi/network_properties.h
+++ b/components/wifi/network_properties.h
@@ -5,6 +5,8 @@
#ifndef COMPONENTS_WIFI_NETWORK_PROPERTIES_H_
#define COMPONENTS_WIFI_NETWORK_PROPERTIES_H_
+#include <stdint.h>
+
#include <list>
#include <set>
#include <string>
@@ -14,7 +16,7 @@
namespace wifi {
-typedef int32 Frequency;
+typedef int32_t Frequency;
enum FrequencyEnum {
kFrequencyAny = 0,
@@ -43,7 +45,7 @@ struct WIFI_EXPORT NetworkProperties {
// once operation is completed.
std::string password;
// WiFi Signal Strength. 0..100
- uint32 signal_strength;
+ uint32_t signal_strength;
bool auto_connect;
Frequency frequency;
FrequencySet frequency_set;
@@ -51,7 +53,7 @@ struct WIFI_EXPORT NetworkProperties {
scoped_ptr<base::DictionaryValue> ToValue(bool network_list) const;
// Updates only properties set in |value|.
bool UpdateFromValue(const base::DictionaryValue& value);
- static std::string MacAddressAsString(const uint8 mac_as_int[6]);
+ static std::string MacAddressAsString(const uint8_t mac_as_int[6]);
static bool OrderByType(const NetworkProperties& l,
const NetworkProperties& r);
};
« no previous file with comments | « components/webusb/webusb_detector.h ('k') | components/wifi/network_properties.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698