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

Unified Diff: components/history/core/browser/download_row.h

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn 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: components/history/core/browser/download_row.h
diff --git a/components/history/core/browser/download_row.h b/components/history/core/browser/download_row.h
index 0553a6738a1be891a1d93901916fd4c807b609f2..8f14bd1bd70034444fceb66b3a123713f31e497d 100644
--- a/components/history/core/browser/download_row.h
+++ b/components/history/core/browser/download_row.h
@@ -5,6 +5,8 @@
#ifndef COMPONENTS_HISTORY_CORE_BROWSER_DOWNLOAD_ROW_H_
#define COMPONENTS_HISTORY_CORE_BROWSER_DOWNLOAD_ROW_H_
+#include <stdint.h>
+
#include <string>
#include <vector>
@@ -30,8 +32,8 @@ struct DownloadRow {
const base::Time& end,
const std::string& etag,
const std::string& last_modified,
- int64 received,
- int64 total,
+ int64_t received,
+ int64_t total,
DownloadState download_state,
DownloadDangerType danger_type,
DownloadInterruptReason interrupt_reason,
@@ -76,11 +78,11 @@ struct DownloadRow {
std::string last_modified;
// The number of bytes received (so far).
- int64 received_bytes;
+ int64_t received_bytes;
// The total number of bytes in the download. Is not changed by
// UpdateDownload().
- int64 total_bytes;
+ int64_t total_bytes;
// The current state of the download.
DownloadState state;
« no previous file with comments | « components/history/core/browser/download_database.cc ('k') | components/history/core/browser/download_row.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698