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

Unified Diff: chrome/browser/chromeos/fileapi/mtp_file_system_backend_delegate.h

Issue 470323003: [fsp] Improve performance for reading small chunks of data. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. 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: chrome/browser/chromeos/fileapi/mtp_file_system_backend_delegate.h
diff --git a/chrome/browser/chromeos/fileapi/mtp_file_system_backend_delegate.h b/chrome/browser/chromeos/fileapi/mtp_file_system_backend_delegate.h
index d2eaa4bfd251577b76e8f16d2772f952665365c5..65d08a18483621f5a962b1dae6b5fcb21c3f3848 100644
--- a/chrome/browser/chromeos/fileapi/mtp_file_system_backend_delegate.h
+++ b/chrome/browser/chromeos/fileapi/mtp_file_system_backend_delegate.h
@@ -39,6 +39,7 @@ class MTPFileSystemBackendDelegate : public FileSystemBackendDelegate {
virtual scoped_ptr<storage::FileStreamReader> CreateFileStreamReader(
const storage::FileSystemURL& url,
int64 offset,
+ int64 max_bytes_to_read,
const base::Time& expected_modification_time,
storage::FileSystemContext* context) OVERRIDE;
virtual scoped_ptr<storage::FileStreamWriter> CreateFileStreamWriter(

Powered by Google App Engine
This is Rietveld 408576698