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

Unified Diff: chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc

Issue 1547093002: Switch to standard integer types in chrome/browser/chromeos/. (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
Index: chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc
diff --git a/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc b/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc
index bba8c8375bc4b95a32d5b69037e39bdf44210209..2c7642e2308e0ecde4a4c888bbc00ebb2367059f 100644
--- a/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc
+++ b/chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.h"
+#include <stdint.h>
+
#include <string>
#include <vector>
@@ -154,7 +156,7 @@ bool ExternalDataPolicyHandler::CheckPolicySettings(const PolicyMap& policies,
return false;
}
- std::vector<uint8> hash;
+ std::vector<uint8_t> hash;
if (!base::HexStringToBytes(hash_string, &hash) ||
hash.size() != crypto::kSHA256Length) {
errors->AddError(policy, kSubkeyHash, IDS_POLICY_VALUE_FORMAT_ERROR);

Powered by Google App Engine
This is Rietveld 408576698