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

Unified Diff: chrome/browser/download/download_status_updater.cc

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 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/download/download_status_updater.cc
diff --git a/chrome/browser/download/download_status_updater.cc b/chrome/browser/download/download_status_updater.cc
index 8ea221d1f9e5955104421a6d092bd42524cf30f2..3c876aab2f5986d2accf20d2a96d0b3c170a599d 100644
--- a/chrome/browser/download/download_status_updater.cc
+++ b/chrome/browser/download/download_status_updater.cc
@@ -4,10 +4,14 @@
#include "chrome/browser/download/download_status_updater.h"
+#include <stdint.h>
+
#include <vector>
#include "base/logging.h"
+#include "base/macros.h"
#include "base/stl_util.h"
+#include "build/build_config.h"
#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
#include "ui/views/linux_ui/linux_ui.h"
@@ -60,8 +64,8 @@ bool DownloadStatusUpdater::GetProgress(float* progress,
*progress = 0;
*download_count = 0;
bool progress_certain = true;
- int64 received_bytes = 0;
- int64 total_bytes = 0;
+ int64_t received_bytes = 0;
+ int64_t total_bytes = 0;
for (std::vector<AllDownloadItemNotifier*>::const_iterator it =
notifiers_.begin(); it != notifiers_.end(); ++it) {
« no previous file with comments | « chrome/browser/download/download_status_updater.h ('k') | chrome/browser/download/download_status_updater_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698