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

Unified Diff: components/history/content/browser/download_constants_utils.cc

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/content/browser/download_constants_utils.cc
diff --git a/components/history/content/browser/download_constants_utils.cc b/components/history/content/browser/download_constants_utils.cc
index d719cc8cf452f0f94667f39c8768cdbb62185f2f..9fa1c4622b4faae32dc1845a7f7c23a3ff13f361 100644
--- a/components/history/content/browser/download_constants_utils.cc
+++ b/components/history/content/browser/download_constants_utils.cc
@@ -114,12 +114,12 @@ DownloadInterruptReason ToHistoryDownloadInterruptReason(
return static_cast<DownloadInterruptReason>(interrupt_reason);
}
-uint32 ToContentDownloadId(DownloadId id) {
+uint32_t ToContentDownloadId(DownloadId id) {
DCHECK_NE(id, kInvalidDownloadId);
- return static_cast<uint32>(id);
+ return static_cast<uint32_t>(id);
}
-DownloadId ToHistoryDownloadId(uint32 id) {
+DownloadId ToHistoryDownloadId(uint32_t id) {
DCHECK_NE(id, content::DownloadItem::kInvalidId);
return static_cast<DownloadId>(id);
}

Powered by Google App Engine
This is Rietveld 408576698