Switch to standard integer types in components/, part 1 of 4.
BUG=138542
[email protected]
Review URL: https://codereview.chromium.org/1546143002
Cr-Commit-Position: refs/heads/master@{#366873}
diff --git a/components/drive/local_file_reader.cc b/components/drive/local_file_reader.cc
index e96b241..de03e7f 100644
--- a/components/drive/local_file_reader.cc
+++ b/components/drive/local_file_reader.cc
@@ -24,7 +24,7 @@
}
void LocalFileReader::Open(const base::FilePath& file_path,
- int64 offset,
+ int64_t offset,
const net::CompletionCallback& callback) {
DCHECK(!callback.is_null());
int flags = base::File::FLAG_OPEN | base::File::FLAG_READ |
@@ -47,7 +47,7 @@
}
void LocalFileReader::DidOpen(const net::CompletionCallback& callback,
- int64 offset,
+ int64_t offset,
int error) {
if (error != net::OK)
return callback.Run(error);
@@ -59,8 +59,8 @@
}
void LocalFileReader::DidSeek(const net::CompletionCallback& callback,
- int64 offset,
- int64 error) {
+ int64_t offset,
+ int64_t error) {
callback.Run(error == offset ? net::OK : net::ERR_FAILED);
}