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

Issue 557223003: Files.app: Remove getDriveFiles function from the private API. (Closed)

Created:
6 years, 3 months ago by hirono
Modified:
6 years, 3 months ago
Reviewers:
benwells, kinaba
CC:
chromium-reviews, extensions-reviews_chromium.org, nkostylev+watch_chromium.org, yoshiki+watch_chromium.org, rginda+watch_chromium.org, mtomasz+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Files.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. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -191 lines) Patch
M chrome/browser/chromeos/extensions/file_manager/private_api_dialog.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_manager/private_api_drive.h View 1 chunk +0 lines, -37 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc View 1 chunk +0 lines, -74 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_manager/private_api_util.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/file_manager_private.idl View 2 chunks +0 lines, -10 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/file_manager.js View 1 2 3 4 6 chunks +35 lines, -63 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/file_tasks.js View 2 chunks +6 lines, -7 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
hirono
PTAL the CL? Thank you!
6 years, 3 months ago (2014-09-10 07:31:14 UTC) #2
kinaba
Nice clean up. lgtm. I worry a bit about the zip mounting case (it lets ...
6 years, 3 months ago (2014-09-10 08:03:52 UTC) #3
hirono
We have the same problem when we open a drive file by packaged apps. We ...
6 years, 3 months ago (2014-09-10 13:17:45 UTC) #7
benwells
lgtm
6 years, 3 months ago (2014-09-11 01:29:50 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/557223003/120001
6 years, 3 months ago (2014-09-11 03:04:50 UTC) #10
commit-bot: I haz the power
Committed patchset #5 (id:120001) as 5c62f2f5dcc0b4cb46e88ea66a23af973d51c036
6 years, 3 months ago (2014-09-11 04:10:04 UTC) #11
commit-bot: I haz the power
6 years, 3 months ago (2014-09-11 04:12:34 UTC) #12
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/ac9bfb77a50d08037bf8d7890048e981dd06f2ae
Cr-Commit-Position: refs/heads/master@{#294320}

Powered by Google App Engine
This is Rietveld 408576698