Index: chromeos/network/onc/onc_validator.cc |
diff --git a/chromeos/network/onc/onc_validator.cc b/chromeos/network/onc/onc_validator.cc |
index ee681aacf185b6fe91fd440fa6cb978812b0af9d..12c602ff5d51c7a707da3704f29378110599188e 100644 |
--- a/chromeos/network/onc/onc_validator.cc |
+++ b/chromeos/network/onc/onc_validator.cc |
@@ -4,6 +4,9 @@ |
#include "chromeos/network/onc/onc_validator.h" |
+#include <stddef.h> |
+#include <stdint.h> |
+ |
#include <algorithm> |
#include "base/json/json_writer.h" |
@@ -452,7 +455,7 @@ bool Validator::ValidateSSIDAndHexSSID(base::DictionaryValue* object) { |
std::string hex_ssid_string; |
if (object->GetStringWithoutPathExpansion(::onc::wifi::kHexSSID, |
&hex_ssid_string)) { |
- std::vector<uint8> decoded_ssid; |
+ std::vector<uint8_t> decoded_ssid; |
if (!base::HexStringToBytes(hex_ssid_string, &decoded_ssid)) { |
LOG(ERROR) << MessageHeader() << "Field " << ::onc::wifi::kHexSSID |
<< " is not a valid hex representation: \"" << hex_ssid_string |