diff options
Diffstat (limited to 'storage/browser/fileapi/file_system_file_stream_reader.cc')
-rw-r--r-- | storage/browser/fileapi/file_system_file_stream_reader.cc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/storage/browser/fileapi/file_system_file_stream_reader.cc b/storage/browser/fileapi/file_system_file_stream_reader.cc index dc1dcce5..0f30eb3 100644 --- a/storage/browser/fileapi/file_system_file_stream_reader.cc +++ b/storage/browser/fileapi/file_system_file_stream_reader.cc @@ -4,6 +4,8 @@ #include "storage/browser/fileapi/file_system_file_stream_reader.h" +#include <stdint.h> + #include "base/files/file_util_proxy.h" #include "base/single_thread_task_runner.h" #include "net/base/file_stream.h" @@ -21,7 +23,7 @@ namespace storage { FileStreamReader* FileStreamReader::CreateForFileSystemFile( storage::FileSystemContext* file_system_context, const storage::FileSystemURL& url, - int64 initial_offset, + int64_t initial_offset, const base::Time& expected_modification_time) { return new storage::FileSystemFileStreamReader( file_system_context, url, initial_offset, expected_modification_time); @@ -73,7 +75,7 @@ int FileSystemFileStreamReader::Read( callback); } -int64 FileSystemFileStreamReader::GetLength( +int64_t FileSystemFileStreamReader::GetLength( const net::Int64CompletionCallback& callback) { if (local_file_reader_) return local_file_reader_->GetLength(callback); @@ -85,15 +87,14 @@ int64 FileSystemFileStreamReader::GetLength( FileSystemFileStreamReader::FileSystemFileStreamReader( FileSystemContext* file_system_context, const FileSystemURL& url, - int64 initial_offset, + int64_t initial_offset, const base::Time& expected_modification_time) : file_system_context_(file_system_context), url_(url), initial_offset_(initial_offset), expected_modification_time_(expected_modification_time), has_pending_create_snapshot_(false), - weak_factory_(this) { -} + weak_factory_(this) {} int FileSystemFileStreamReader::CreateSnapshot( const base::Closure& callback, |