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

Unified Diff: webkit/browser/fileapi/file_system_context.cc

Issue 470323003: [fsp] Improve performance for reading small chunks of data. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleaned up. Created 6 years, 3 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
Index: webkit/browser/fileapi/file_system_context.cc
diff --git a/webkit/browser/fileapi/file_system_context.cc b/webkit/browser/fileapi/file_system_context.cc
index cb62556fefe3cb855c4367b8f0147b1079b1085e..b7ad722f17841e86bb5395a390647da80e145489 100644
--- a/webkit/browser/fileapi/file_system_context.cc
+++ b/webkit/browser/fileapi/file_system_context.cc
@@ -429,6 +429,7 @@ void FileSystemContext::DeleteFileSystem(
scoped_ptr<storage::FileStreamReader> FileSystemContext::CreateFileStreamReader(
const FileSystemURL& url,
int64 offset,
+ int64 length,
const base::Time& expected_modification_time) {
if (!url.is_valid())
return scoped_ptr<storage::FileStreamReader>();
@@ -436,7 +437,7 @@ scoped_ptr<storage::FileStreamReader> FileSystemContext::CreateFileStreamReader(
if (!backend)
return scoped_ptr<storage::FileStreamReader>();
return backend->CreateFileStreamReader(
- url, offset, expected_modification_time, this);
+ url, offset, length, expected_modification_time, this);
}
scoped_ptr<FileStreamWriter> FileSystemContext::CreateFileStreamWriter(

Powered by Google App Engine
This is Rietveld 408576698