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

Unified Diff: components/drive/fake_file_system.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
« no previous file with comments | « components/drive/fake_file_system.h ('k') | components/drive/fake_free_disk_space_getter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/drive/fake_file_system.cc
diff --git a/components/drive/fake_file_system.cc b/components/drive/fake_file_system.cc
index 929d693ec391f2ebecd5a83444b9bd1f85284974..6fceb9c79003458d19fafc65564b71536c39f1a0 100644
--- a/components/drive/fake_file_system.cc
+++ b/components/drive/fake_file_system.cc
@@ -4,6 +4,8 @@
#include "components/drive/fake_file_system.h"
+#include <stddef.h>
+
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/callback.h"
@@ -100,7 +102,7 @@ void FakeFileSystem::TouchFile(const base::FilePath& file_path,
}
void FakeFileSystem::TruncateFile(const base::FilePath& file_path,
- int64 length,
+ int64_t length,
const FileOperationCallback& callback) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
}
@@ -245,7 +247,7 @@ void FakeFileSystem::GetPathFromResourceId(
}
void FakeFileSystem::FreeDiskSpaceIfNeededFor(
- int64 num_bytes,
+ int64_t num_bytes,
const FreeDiskSpaceCallback& callback) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
}
« no previous file with comments | « components/drive/fake_file_system.h ('k') | components/drive/fake_free_disk_space_getter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698