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

Unified Diff: chrome/browser/chromeos/policy/affiliation_test_helper.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/affiliation_test_helper.cc
diff --git a/chrome/browser/chromeos/policy/affiliation_test_helper.cc b/chrome/browser/chromeos/policy/affiliation_test_helper.cc
index bfedc57d678cb0a935965378c79ec7b9c9870830..89507b5a0902a4a2bd66e4b7d3c7e0d31f38db5e 100644
--- a/chrome/browser/chromeos/policy/affiliation_test_helper.cc
+++ b/chrome/browser/chromeos/policy/affiliation_test_helper.cc
@@ -3,6 +3,8 @@
// found in the LICENSE file.
#include "chrome/browser/chromeos/policy/affiliation_test_helper.h"
+#include <stdint.h>
+
#include <string>
#include <vector>
@@ -49,7 +51,7 @@ void SetUserKeys(policy::UserPolicyBuilder* user_policy) {
chromeos::CryptohomeClient::GetStubSanitizedUsername(username);
const base::FilePath user_key_file =
user_keys_dir.AppendASCII(sanitized_username).AppendASCII("policy.pub");
- std::vector<uint8> user_key_bits;
+ std::vector<uint8_t> user_key_bits;
ASSERT_TRUE(user_policy->GetSigningKey()->ExportPublicKey(&user_key_bits));
ASSERT_TRUE(base::CreateDirectory(user_key_file.DirName()));
ASSERT_EQ(base::WriteFile(user_key_file,

Powered by Google App Engine
This is Rietveld 408576698