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

Issue 10082002: Add FileSystemMountPointProvider::CreateFileReader() which returns appropriate Reader instance (Closed)

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

Description

Add FileSystemContext::CreateFileReader() which returns appropriate Reader instance by cracking a given filesystem URL. In a short term a returned reader is to be used by FileSystemURLRequestJob and generalized cross-filesystem operation implementation. For now in most cases it just returns a default FileSystemFileReader which internally calls CreateSnapshotFile (i.e. downloads everything first). (diff to http://codereview.chromium.org/10038019/) BUG=114999 TEST=FileSystemURLRequestJobTest.* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=132957

Patch Set 1 : '' #

Total comments: 2

Patch Set 2 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -8 lines) Patch
M webkit/chromeos/fileapi/cros_mount_point_provider.h View 1 chunk +5 lines, -0 lines 0 comments Download
M webkit/chromeos/fileapi/cros_mount_point_provider.cc View 2 chunks +12 lines, -0 lines 0 comments Download
M webkit/fileapi/file_system_context.h View 2 chunks +15 lines, -0 lines 0 comments Download
M webkit/fileapi/file_system_context.cc View 1 chunk +16 lines, -0 lines 0 comments Download
M webkit/fileapi/file_system_mount_point_provider.h View 2 chunks +15 lines, -0 lines 0 comments Download
M webkit/fileapi/file_system_url_request_job.h View 2 chunks +5 lines, -2 lines 0 comments Download
M webkit/fileapi/file_system_url_request_job.cc View 1 2 chunks +5 lines, -6 lines 0 comments Download
M webkit/fileapi/isolated_mount_point_provider.h View 1 chunk +5 lines, -0 lines 0 comments Download
M webkit/fileapi/isolated_mount_point_provider.cc View 2 chunks +23 lines, -0 lines 0 comments Download
M webkit/fileapi/sandbox_mount_point_provider.h View 1 chunk +5 lines, -0 lines 0 comments Download
M webkit/fileapi/sandbox_mount_point_provider.cc View 1 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
kinuko
I'd like to add CreateFileReader interface to FileSystemMountPointProvider as a step to support Reader stream ...
8 years, 8 months ago (2012-04-13 11:33:39 UTC) #1
michaeln
lgtm https://chromiumcodereview.appspot.com/10082002/diff/2001/webkit/fileapi/file_system_mount_point_provider.h File webkit/fileapi/file_system_mount_point_provider.h (right): https://chromiumcodereview.appspot.com/10082002/diff/2001/webkit/fileapi/file_system_mount_point_provider.h#newcode103 webkit/fileapi/file_system_mount_point_provider.h:103: virtual webkit_blob::FileReader* CreateFileReader( Would it make sense to ...
8 years, 8 months ago (2012-04-13 21:53:50 UTC) #2
zel
LGTM http://codereview.chromium.org/10082002/diff/2001/webkit/chromeos/fileapi/cros_mount_point_provider.cc File webkit/chromeos/fileapi/cros_mount_point_provider.cc (right): http://codereview.chromium.org/10082002/diff/2001/webkit/chromeos/fileapi/cros_mount_point_provider.cc#newcode259 webkit/chromeos/fileapi/cros_mount_point_provider.cc:259: base::MessageLoopProxy* file_proxy, are you guys planning to get ...
8 years, 8 months ago (2012-04-13 22:56:56 UTC) #3
zel
8 years, 8 months ago (2012-04-13 22:57:25 UTC) #4
michaeln
Based on some code comments in there, i think that's what kinuko has in mind. ...
8 years, 8 months ago (2012-04-14 00:19:48 UTC) #5
kinuko
On 2012/04/13 22:56:56, zel wrote: > LGTM > > http://codereview.chromium.org/10082002/diff/2001/webkit/chromeos/fileapi/cros_mount_point_provider.cc > File webkit/chromeos/fileapi/cros_mount_point_provider.cc (right): > ...
8 years, 8 months ago (2012-04-16 03:21:23 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kinuko@chromium.org/10082002/13001
8 years, 8 months ago (2012-04-19 04:10:53 UTC) #7
commit-bot: I haz the power
8 years, 8 months ago (2012-04-19 05:40:21 UTC) #8
Change committed as 132957

Powered by Google App Engine
This is Rietveld 408576698