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

Unified Diff: chrome/browser/enumerate_modules_model_win.cc

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (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/enumerate_modules_model_win.h ('k') | chrome/browser/errorpage_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/enumerate_modules_model_win.cc
diff --git a/chrome/browser/enumerate_modules_model_win.cc b/chrome/browser/enumerate_modules_model_win.cc
index 1742f0f473c0c4bf6a823e5d7e50b2c04c9460eb..fa34389cbcb2f3f375a9c68c9e33d27a710673b2 100644
--- a/chrome/browser/enumerate_modules_model_win.cc
+++ b/chrome/browser/enumerate_modules_model_win.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/enumerate_modules_model_win.h"
+#include <stddef.h>
+#include <stdint.h>
#include <Tlhelp32.h>
#include <wintrust.h>
#include <algorithm>
@@ -14,6 +16,7 @@
#include "base/file_version_info_win.h"
#include "base/files/file_path.h"
#include "base/i18n/case_conversion.h"
+#include "base/macros.h"
#include "base/metrics/histogram.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"
@@ -347,7 +350,7 @@ static void GenerateHash(const std::string& input, std::string* output) {
return;
}
- uint8 hash[4];
+ uint8_t hash[4];
crypto::SHA256HashString(input, hash, sizeof(hash));
*output = base::ToLowerASCII(base::HexEncode(hash, sizeof(hash)));
}
« no previous file with comments | « chrome/browser/enumerate_modules_model_win.h ('k') | chrome/browser/errorpage_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698