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

Unified Diff: webkit/blob/local_file_reader.cc

Issue 10067026: Accomodate files larger than maxint in size in blob/file reading. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 8 months 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 | « webkit/blob/local_file_reader.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/blob/local_file_reader.cc
===================================================================
--- webkit/blob/local_file_reader.cc (revision 132070)
+++ webkit/blob/local_file_reader.cc (working copy)
@@ -42,7 +42,7 @@
file_info.last_modified.ToTimeT();
}
-void DidGetFileInfoForGetLength(const net::CompletionCallback& callback,
+void DidGetFileInfoForGetLength(const net::Int64CompletionCallback& callback,
const base::Time& expected_modification_time,
int64 initial_offset,
base::PlatformFileError error,
@@ -169,7 +169,7 @@
make_scoped_refptr(buf), buf_len, callback));
}
-int LocalFileReader::GetLength(const net::CompletionCallback& callback) {
+int LocalFileReader::GetLength(const net::Int64CompletionCallback& callback) {
const bool posted = base::FileUtilProxy::GetFileInfo(
file_thread_proxy_, file_path_,
base::Bind(&DidGetFileInfoForGetLength, callback,
« no previous file with comments | « webkit/blob/local_file_reader.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698