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

Unified Diff: chrome/browser/download/download_item_model_unittest.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_item_model_unittest.cc
diff --git a/chrome/browser/download/download_item_model_unittest.cc b/chrome/browser/download/download_item_model_unittest.cc
index 7c634976541b2c3bcc549738933fc6510a4a2ec8..b129f040d6d78d2d9bffec50107c3530bb1eeb15 100644
--- a/chrome/browser/download/download_item_model_unittest.cc
+++ b/chrome/browser/download/download_item_model_unittest.cc
@@ -4,10 +4,14 @@
#include "chrome/browser/download/download_item_model.h"
+#include <stddef.h>
+#include <stdint.h>
+
#include <vector>
#include "base/i18n/rtl.h"
#include "base/logging.h"
+#include "base/macros.h"
#include "base/message_loop/message_loop.h"
#include "base/strings/string16.h"
#include "base/strings/string_split.h"
@@ -287,8 +291,8 @@ TEST_F(DownloadItemModelTest, InterruptTooltip) {
TEST_F(DownloadItemModelTest, InProgressStatus) {
const struct TestCase {
- int64 received_bytes; // Return value of GetReceivedBytes().
- int64 total_bytes; // Return value of GetTotalBytes().
+ int64_t received_bytes; // Return value of GetReceivedBytes().
+ int64_t total_bytes; // Return value of GetTotalBytes().
bool time_remaining_known; // If TimeRemaining() is known.
bool open_when_complete; // GetOpenWhenComplete().
bool is_paused; // IsPaused().
« no previous file with comments | « chrome/browser/download/download_item_model.cc ('k') | chrome/browser/download/download_path_reservation_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698