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

Issue 1701163003: Hide non-native volumes when saving files from the browser. (Closed)

Created:
4 years, 10 months ago by hirono
Modified:
4 years, 10 months ago
Reviewers:
mtomasz
CC:
chromium-reviews, rginda+watch_chromium.org, mtomasz+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Hide non-native volumes when saving files from the browser. Chrome browser opens Files app as a file saving dialog. The caller of saving dialog has a special handling for drive paths, but it does not handle other non-native paths (e.g. FSP, MTP) The CL lets Files app know which types of paths are handled by caller and hide volumes that are not supported by caller. BUG=581984 TEST=Check with standalone Files app, save dialog, open dialog Committed: https://crrev.com/e820f8581d44df14269df140fc71d70adde7262b Cr-Commit-Position: refs/heads/master@{#376073}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 4

Patch Set 3 : Addressed comments. #

Patch Set 4 : Fix tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -131 lines) Patch
M chrome/browser/chromeos/file_manager/url_util.cc View 2 chunks +8 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/file_manager/url_util_unittest.cc View 1 2 3 2 chunks +36 lines, -34 lines 0 comments Download
M ui/file_manager/audio_player/js/audio_player.js View 1 1 chunk +1 line, -2 lines 0 comments Download
M ui/file_manager/file_manager/common/js/volume_manager_common.js View 1 1 chunk +11 lines, -0 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/dialog_action_controller.js View 1 2 chunks +4 lines, -4 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/file_manager.js View 1 chunk +14 lines, -11 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/launch_param.js View 1 chunk +3 lines, -2 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/volume_manager_wrapper.js View 1 2 10 chunks +76 lines, -67 lines 0 comments Download
M ui/file_manager/gallery/js/gallery.js View 1 chunk +1 line, -2 lines 0 comments Download
M ui/file_manager/video_player/js/video_player.js View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
hirono
PTAL, thanks!
4 years, 10 months ago (2016-02-17 08:04:53 UTC) #2
mtomasz
lgtm with two tiny nits! https://codereview.chromium.org/1701163003/diff/20001/ui/file_manager/file_manager/foreground/js/volume_manager_wrapper.js File ui/file_manager/file_manager/foreground/js/volume_manager_wrapper.js (right): https://codereview.chromium.org/1701163003/diff/20001/ui/file_manager/file_manager/foreground/js/volume_manager_wrapper.js#newcode68 ui/file_manager/file_manager/foreground/js/volume_manager_wrapper.js:68: if (this.allowedPaths_ == AllowedPaths.ANY_PATH) ...
4 years, 10 months ago (2016-02-17 08:20:49 UTC) #3
hirono
Thanks! https://codereview.chromium.org/1701163003/diff/20001/ui/file_manager/file_manager/foreground/js/volume_manager_wrapper.js File ui/file_manager/file_manager/foreground/js/volume_manager_wrapper.js (right): https://codereview.chromium.org/1701163003/diff/20001/ui/file_manager/file_manager/foreground/js/volume_manager_wrapper.js#newcode68 ui/file_manager/file_manager/foreground/js/volume_manager_wrapper.js:68: if (this.allowedPaths_ == AllowedPaths.ANY_PATH) On 2016/02/17 08:20:49, mtomasz ...
4 years, 10 months ago (2016-02-17 08:29:19 UTC) #4
hirono
Thanks!
4 years, 10 months ago (2016-02-17 08:29:20 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1701163003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1701163003/40001
4 years, 10 months ago (2016-02-17 08:29:34 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/126236)
4 years, 10 months ago (2016-02-17 09:09:19 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1701163003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1701163003/60001
4 years, 10 months ago (2016-02-18 02:11:46 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 10 months ago (2016-02-18 02:40:00 UTC) #14
commit-bot: I haz the power
4 years, 10 months ago (2016-02-18 02:41:05 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/e820f8581d44df14269df140fc71d70adde7262b
Cr-Commit-Position: refs/heads/master@{#376073}

Powered by Google App Engine
This is Rietveld 408576698