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

Unified Diff: content/browser/download/download_request_core.cc

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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: content/browser/download/download_request_core.cc
diff --git a/content/browser/download/download_request_core.cc b/content/browser/download/download_request_core.cc
index 577d9f4a19269030edcc9f023f5b5a77187ef45a..072ba7b0b55469efc47e767f0fa3da78e1f5457e 100644
--- a/content/browser/download/download_request_core.cc
+++ b/content/browser/download/download_request_core.cc
@@ -87,9 +87,9 @@ void DownloadRequestCore::OnResponseStarted(
// If the content-length header is not present (or contains something other
// than numbers), the incoming content_length is -1 (unknown size).
// Set the content length to 0 to indicate unknown size to DownloadManager.
- int64 content_length = request()->GetExpectedContentSize() > 0
- ? request()->GetExpectedContentSize()
- : 0;
+ int64_t content_length = request()->GetExpectedContentSize() > 0
+ ? request()->GetExpectedContentSize()
+ : 0;
// Deleted in DownloadManager.
scoped_ptr<DownloadCreateInfo> info(
« no previous file with comments | « content/browser/download/download_request_core.h ('k') | content/browser/download/download_resource_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698