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

Unified Diff: chrome/browser/chromeos/settings/token_encryptor.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
« no previous file with comments | « chrome/browser/chromeos/settings/token_encryptor.h ('k') | chrome/browser/chromeos/sim_dialog_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/settings/token_encryptor.cc
diff --git a/chrome/browser/chromeos/settings/token_encryptor.cc b/chrome/browser/chromeos/settings/token_encryptor.cc
index dbe26c52ea90560f48ac3e233bcb5f4f10e84700..8ff42eeb724d524d884923644cd3ea7e2858589d 100644
--- a/chrome/browser/chromeos/settings/token_encryptor.cc
+++ b/chrome/browser/chromeos/settings/token_encryptor.cc
@@ -4,6 +4,9 @@
#include "chrome/browser/chromeos/settings/token_encryptor.h"
+#include <stddef.h>
+#include <stdint.h>
+
#include <vector>
#include "base/logging.h"
@@ -97,7 +100,7 @@ std::string CryptohomeTokenEncryptor::DecryptTokenWithKey(
crypto::SymmetricKey* key,
const std::string& salt,
const std::string& encrypted_token_hex) {
- std::vector<uint8> encrypted_token_bytes;
+ std::vector<uint8_t> encrypted_token_bytes;
if (!base::HexStringToBytes(encrypted_token_hex, &encrypted_token_bytes)) {
LOG(WARNING) << "Corrupt encrypted token found.";
return std::string();
« no previous file with comments | « chrome/browser/chromeos/settings/token_encryptor.h ('k') | chrome/browser/chromeos/sim_dialog_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698