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

Unified Diff: webkit/blob/local_file_reader.h

Issue 10080001: Reland 132134 with memory fix - Use LocalFileReader in FileSystemURLRequestJob (Closed) Base URL: svn://svn.chromium.org/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
Index: webkit/blob/local_file_reader.h
diff --git a/webkit/blob/local_file_reader.h b/webkit/blob/local_file_reader.h
index fd87dd450fedf8940801879ffac9559513a61f3b..f7d3b27338bab6469bb80c27e1f4a33c7fbe533f 100644
--- a/webkit/blob/local_file_reader.h
+++ b/webkit/blob/local_file_reader.h
@@ -34,7 +34,9 @@ class BLOB_EXPORT LocalFileReader {
// Creates a new FileReader for a local file |file_path|.
// |initial_offset| specifies the offset in the file where the first read
- // should start.
+ // should start. If the given offset is out of the file range any
+ // read operation may error out with net::ERR_REQUEST_RANGE_NOT_SATISFIABLE.
+ //
// |expected_modification_time| specifies the expected last modification
// If the value is non-null, the reader will check the underlying file's
// actual modification time to see if the file has been modified, and if

Powered by Google App Engine
This is Rietveld 408576698