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

Unified Diff: chrome/browser/safe_browsing/incident_reporting/last_download_finder.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/last_download_finder.cc
diff --git a/chrome/browser/safe_browsing/incident_reporting/last_download_finder.cc b/chrome/browser/safe_browsing/incident_reporting/last_download_finder.cc
index cb7639badf8292b25392368376ccf0839924aa9e..d82c123e1613e5e5fc1bd2536ada0d9a2c9c2b81 100644
--- a/chrome/browser/safe_browsing/incident_reporting/last_download_finder.cc
+++ b/chrome/browser/safe_browsing/incident_reporting/last_download_finder.cc
@@ -4,6 +4,9 @@
#include "chrome/browser/safe_browsing/incident_reporting/last_download_finder.h"
+#include <stddef.h>
+#include <stdint.h>
+
#include <algorithm>
#include <functional>
#include <utility>
@@ -13,6 +16,7 @@
#include "base/prefs/pref_service.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
+#include "build/build_config.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/chrome_notification_types.h"
#include "chrome/browser/history/history_service_factory.h"
@@ -38,12 +42,12 @@ namespace {
// functions that follow.
// Returns the end time of a download represented by a DownloadRow.
-int64 GetEndTime(const history::DownloadRow& row) {
+int64_t GetEndTime(const history::DownloadRow& row) {
return row.end_time.ToJavaTime();
}
// Returns the end time of a download represented by a DownloadDetails.
-int64 GetEndTime(const ClientIncidentReport_DownloadDetails& details) {
+int64_t GetEndTime(const ClientIncidentReport_DownloadDetails& details) {
return details.download_time_msec();
}

Powered by Google App Engine
This is Rietveld 408576698