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

Unified Diff: components/drive/file_system/truncate_operation.cc

Issue 1546143002: Switch to standard integer types in components/, 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: components/drive/file_system/truncate_operation.cc
diff --git a/components/drive/file_system/truncate_operation.cc b/components/drive/file_system/truncate_operation.cc
index 7ab44b4d2c27e131901af6066e8ea57770463d96..0ccfdfc98eea19a6e98dccf04605cfd513964d0b 100644
--- a/components/drive/file_system/truncate_operation.cc
+++ b/components/drive/file_system/truncate_operation.cc
@@ -29,7 +29,7 @@ FileError TruncateOnBlockingPool(internal::ResourceMetadata* metadata,
internal::FileCache* cache,
const std::string& local_id,
const base::FilePath& local_cache_path,
- int64 length) {
+ int64_t length) {
DCHECK(metadata);
DCHECK(cache);
@@ -75,7 +75,7 @@ TruncateOperation::~TruncateOperation() {
}
void TruncateOperation::Truncate(const base::FilePath& file_path,
- int64 length,
+ int64_t length,
const FileOperationCallback& callback) {
DCHECK(thread_checker_.CalledOnValidThread());
DCHECK(!callback.is_null());
@@ -99,7 +99,7 @@ void TruncateOperation::Truncate(const base::FilePath& file_path,
}
void TruncateOperation::TruncateAfterEnsureFileDownloadedByPath(
- int64 length,
+ int64_t length,
const FileOperationCallback& callback,
FileError error,
const base::FilePath& local_file_path,
« no previous file with comments | « components/drive/file_system/truncate_operation.h ('k') | components/drive/file_system/truncate_operation_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698