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

Unified Diff: chrome/browser/safe_browsing/incident_reporting/environment_data_collection_win.cc

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 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
Index: chrome/browser/safe_browsing/incident_reporting/environment_data_collection_win.cc
diff --git a/chrome/browser/safe_browsing/incident_reporting/environment_data_collection_win.cc b/chrome/browser/safe_browsing/incident_reporting/environment_data_collection_win.cc
index 0d2b8817aada2de7f9825fc04899416392363ce7..829fd6d07cc321542cb0c8949703dd0cd8f21ca5 100644
--- a/chrome/browser/safe_browsing/incident_reporting/environment_data_collection_win.cc
+++ b/chrome/browser/safe_browsing/incident_reporting/environment_data_collection_win.cc
@@ -4,10 +4,13 @@
#include "chrome/browser/safe_browsing/incident_reporting/environment_data_collection_win.h"
+#include <stdint.h>
+
#include <set>
#include <string>
#include "base/i18n/case_conversion.h"
+#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/metrics/histogram_macros.h"
#include "base/strings/string16.h"
@@ -92,7 +95,7 @@ void CollectRegistryDataForKey(
std::vector<wchar_t> name_buffer(max_name_len);
// Read the values.
if (num_values != 0) {
- std::vector<uint8> value_buffer(max_value_len != 0 ? max_value_len : 1);
+ std::vector<uint8_t> value_buffer(max_value_len != 0 ? max_value_len : 1);
DWORD name_size = 0;
DWORD value_type = REG_NONE;
DWORD value_size = 0;

Powered by Google App Engine
This is Rietveld 408576698