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

Unified Diff: chrome/browser/chromeos/drive/download_handler_unittest.cc

Issue 1547093002: Switch to standard integer types in chrome/browser/chromeos/. (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/chromeos/drive/download_handler_unittest.cc
diff --git a/chrome/browser/chromeos/drive/download_handler_unittest.cc b/chrome/browser/chromeos/drive/download_handler_unittest.cc
index 20a75c94d38e2773492cc53f91ad5739381d18ed..24fc82bf5c7c559bd75d918d596c2edd8f8cf482 100644
--- a/chrome/browser/chromeos/drive/download_handler_unittest.cc
+++ b/chrome/browser/chromeos/drive/download_handler_unittest.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/chromeos/drive/download_handler.h"
+#include <stdint.h>
+
#include "base/files/scoped_temp_dir.h"
#include "base/run_loop.h"
#include "chrome/browser/chromeos/drive/file_system_util.h"
@@ -44,13 +46,13 @@ class DownloadHandlerTestFileSystem : public DummyFileSystem {
}
void FreeDiskSpaceIfNeededFor(
- int64 num_bytes,
+ int64_t num_bytes,
const FreeDiskSpaceCallback& callback) override {
free_disk_space_if_needed_for_num_bytes_.push_back(num_bytes);
callback.Run(true);
}
- std::vector<int64> free_disk_space_if_needed_for_num_bytes_;
+ std::vector<int64_t> free_disk_space_if_needed_for_num_bytes_;
private:
FileError error_;
@@ -72,13 +74,13 @@ class DownloadHandlerTestDownloadItem : public content::MockDownloadItem {
public:
bool IsDone() const override { return is_done_; }
- int64 GetTotalBytes() const override { return total_bytes_; }
+ int64_t GetTotalBytes() const override { return total_bytes_; }
- int64 GetReceivedBytes() const override { return received_bytes_; }
+ int64_t GetReceivedBytes() const override { return received_bytes_; }
bool is_done_ = false;
- int64 total_bytes_ = 0;
- int64 received_bytes_ = 0;
+ int64_t total_bytes_ = 0;
+ int64_t received_bytes_ = 0;
};
} // namespace
« no previous file with comments | « chrome/browser/chromeos/drive/download_handler.cc ('k') | chrome/browser/chromeos/drive/drive_file_stream_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698