DescriptionFix chrome upload with content uri
For android, the upload file dialog returns files with content uri scheme(content://).
This CL makes it possible for upload to work with this new file type.
It fixes both the form and fileapi based uploads.
The CL follows the same code path used by regular file upload and the content url is encompassed by a FilePath object.
R=jar@chromium.org, joth@chromium.org, kinuko@chromium.org, mmenke@chromium.org, tsepez@chromium.org
TBR=yfriedman
BUG=278640
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=235752
Patch Set 1 : #
Total comments: 12
Patch Set 2 : simplify the change using FILE enum instead of adding a new enum #
Total comments: 23
Patch Set 3 : addressing comments #
Total comments: 4
Patch Set 4 : addressing mmenke's comments #
Total comments: 8
Patch Set 5 : adding unittests #
Total comments: 6
Patch Set 6 : adding unittests for net/ #
Total comments: 10
Patch Set 7 : addressing tsepez's comments #
Total comments: 4
Patch Set 8 : address jar's comments #Patch Set 9 : rebase #Patch Set 10 : rebase again #
Messages
Total messages: 58 (0 generated)
|