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

Unified Diff: chrome/browser/safe_browsing/srt_fetcher_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/srt_fetcher_win.cc
diff --git a/chrome/browser/safe_browsing/srt_fetcher_win.cc b/chrome/browser/safe_browsing/srt_fetcher_win.cc
index 16408042d1d6178e3906c78271c70870277d6189..2c0ee0e6e713bb44d3b8e132c7d49026f6e47717 100644
--- a/chrome/browser/safe_browsing/srt_fetcher_win.cc
+++ b/chrome/browser/safe_browsing/srt_fetcher_win.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/safe_browsing/srt_fetcher_win.h"
+#include <stdint.h>
+
#include <vector>
#include "base/bind.h"
@@ -11,6 +13,7 @@
#include "base/callback_helpers.h"
#include "base/command_line.h"
#include "base/files/file_path.h"
+#include "base/macros.h"
#include "base/metrics/field_trial.h"
#include "base/metrics/histogram_macros.h"
#include "base/metrics/sparse_histogram.h"
@@ -346,7 +349,7 @@ void ReportSwReporterRuntime(const base::TimeDelta& reporter_running_time) {
}
bool has_start_time = false;
- int64 start_time_value = 0;
+ int64_t start_time_value = 0;
if (reporter_key.HasValue(kStartTimeValueName) &&
reporter_key.ReadInt64(kStartTimeValueName, &start_time_value) ==
ERROR_SUCCESS) {
@@ -355,7 +358,7 @@ void ReportSwReporterRuntime(const base::TimeDelta& reporter_running_time) {
}
bool has_end_time = false;
- int64 end_time_value = 0;
+ int64_t end_time_value = 0;
if (reporter_key.HasValue(kEndTimeValueName) &&
reporter_key.ReadInt64(kEndTimeValueName, &end_time_value) ==
ERROR_SUCCESS) {
@@ -398,7 +401,7 @@ void ReportSwReporterScanTimes() {
base::string16 value_name;
int uws_id = 0;
- int64 raw_scan_time = 0;
+ int64_t raw_scan_time = 0;
int num_scan_times = scan_times_key.GetValueCount();
for (int i = 0; i < num_scan_times; ++i) {
if (scan_times_key.GetValueNameAt(i, &value_name) == ERROR_SUCCESS &&
« no previous file with comments | « chrome/browser/safe_browsing/signature_evaluator_mac_unittest.cc ('k') | chrome/browser/safe_browsing/srt_global_error_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698