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

Unified Diff: components/drive/local_file_reader.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/local_file_reader.h ('k') | components/drive/local_file_reader_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/drive/local_file_reader.cc
diff --git a/components/drive/local_file_reader.cc b/components/drive/local_file_reader.cc
index e96b24157bd06901a41aeeee8c340edefeda9746..de03e7f746d4f5af55cc365a8ffe16f31cceea21 100644
--- a/components/drive/local_file_reader.cc
+++ b/components/drive/local_file_reader.cc
@@ -24,7 +24,7 @@ LocalFileReader::~LocalFileReader() {
}
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::Read(net::IOBuffer* in_buffer,
}
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::DidOpen(const net::CompletionCallback& callback,
}
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);
}
« no previous file with comments | « components/drive/local_file_reader.h ('k') | components/drive/local_file_reader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698