DescriptionFiles.app: Remove getDriveFiles function from the private API.
The API is for ensuring the files are downloaded in local storage, and wad used in two places in Files.app.
The first is mounting ZIP. We don't need to care about it. We can mount ZIP
without downloading it in advance.
The second is selecting files in the file select dialog. We can download files
when fileManagerPrivate.selectFiles(s), and UI shows the progress correctly. But
previously, if downloading is cancelled, the API is regarded as success and it
passes the selected file inforamtion to the browser. The CL handles the case and
has the API report an error if the downloading is cancelled.
BUG=326082
TEST=delete cache, open the file in the file select dialog. Also cancel uploading in the dialog.
Committed: https://crrev.com/ac9bfb77a50d08037bf8d7890048e981dd06f2ae
Cr-Commit-Position: refs/heads/master@{#294320}
Patch Set 1 #Patch Set 2 : #Patch Set 3 : Fix an error when saving a file. #Patch Set 4 : #
Total comments: 2
Patch Set 5 : Fixed. #
Messages
Total messages: 12 (5 generated)
|