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

Issue 10038019: Add FileReader interface and implement FileSystemFileReader (Closed)

Created:
8 years, 8 months ago by kinuko
Modified:
8 years, 8 months ago
Reviewers:
michaeln, tzik
CC:
chromium-reviews, darin-cc_chromium.org, kinaba, satorux1
Visibility:
Public.

Description

Add FileReader interface and implement FileSystemFileReader. - Split LocalFileReader into FileReader interface and LocalFileReader implementation - Adding FileSystemFileReader as a default implementation for FileSystem files The FileSystemFileReader implementation uses CreateSnapshotFile which may force downloading the entire file (as the initial generic version). This would need to be changed in remote filesystem implementation. BUG=114999 TEST=FileSystemURLRequestJobTest, BlobURLRequestJobTest Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=132774

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 14

Patch Set 3 : addressed comments #

Patch Set 4 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+267 lines, -63 lines) Patch
M webkit/blob/blob_url_request_job.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
A webkit/blob/file_reader.h View 1 2 1 chunk +42 lines, -0 lines 0 comments Download
M webkit/blob/local_file_reader.h View 1 2 2 chunks +14 lines, -17 lines 0 comments Download
M webkit/blob/local_file_reader.cc View 1 2 5 chunks +18 lines, -17 lines 0 comments Download
A webkit/fileapi/file_system_file_reader.h View 1 2 1 chunk +70 lines, -0 lines 0 comments Download
A webkit/fileapi/file_system_file_reader.cc View 1 2 1 chunk +101 lines, -0 lines 0 comments Download
M webkit/fileapi/file_system_url_request_job.h View 1 2 chunks +4 lines, -12 lines 0 comments Download
M webkit/fileapi/file_system_url_request_job.cc View 1 2 7 chunks +15 lines, -16 lines 0 comments Download
M webkit/fileapi/webkit_fileapi.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
kinuko
8 years, 8 months ago (2012-04-13 04:44:26 UTC) #1
michaeln
lgtm, definitely like the direction your going with making a very abstract reader interface i ...
8 years, 8 months ago (2012-04-13 20:24:51 UTC) #2
michaeln
http://codereview.chromium.org/10038019/diff/7005/webkit/fileapi/file_system_file_reader.cc File webkit/fileapi/file_system_file_reader.cc (right): http://codereview.chromium.org/10038019/diff/7005/webkit/fileapi/file_system_file_reader.cc#newcode62 webkit/fileapi/file_system_file_reader.cc:62: has_pending_operation_ = true; maybe clarify this referes to a ...
8 years, 8 months ago (2012-04-13 21:14:59 UTC) #3
kinuko
As for the unit tests, given that I seem to be introducing some bugs around ...
8 years, 8 months ago (2012-04-16 10:24:21 UTC) #4
michaeln
8 years, 8 months ago (2012-04-18 00:25:30 UTC) #5
still lgtm :)

Powered by Google App Engine
This is Rietveld 408576698