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

Unified Diff: chrome/app/signature_validator_win.cc

Issue 1548153002: Switch to standard integer types in chrome/. (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/app/main_dll_loader_win.cc ('k') | chrome/app/signature_validator_win_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/signature_validator_win.cc
diff --git a/chrome/app/signature_validator_win.cc b/chrome/app/signature_validator_win.cc
index d4f86f01f859e22e7e388be05d95347318884d71..c67216b3c5f6d406f28af7aba927d1a157ab429b 100644
--- a/chrome/app/signature_validator_win.cc
+++ b/chrome/app/signature_validator_win.cc
@@ -7,11 +7,13 @@
#include <atlstr.h>
#include <softpub.h>
#include <windows.h>
+#include <stdint.h>
#include <wintrust.h>
#include <algorithm>
#include "base/files/file_path.h"
+#include "base/macros.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
@@ -33,7 +35,7 @@ bool ExtractPublicKeyHash(const CERT_CONTEXT* cert_context,
if (crypt_blob.cUnusedBits != 0)
return false;
- uint8 hash[crypto::kSHA256Length] = {};
+ uint8_t hash[crypto::kSHA256Length] = {};
base::StringPiece key_bytes(reinterpret_cast<char*>(
crypt_blob.pbData), crypt_blob.cbData);
« no previous file with comments | « chrome/app/main_dll_loader_win.cc ('k') | chrome/app/signature_validator_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698