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

Unified Diff: ui/file_manager/gallery/js/gallery.js

Issue 1701163003: Hide non-native volumes when saving files from the browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tests Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/file_manager/gallery/js/gallery.js
diff --git a/ui/file_manager/gallery/js/gallery.js b/ui/file_manager/gallery/js/gallery.js
index 7a19a7d117c18380cde40c23a27d8c6d424f1403..ae0f21f841a80350c1940af8dcb7e600fb043d41 100644
--- a/ui/file_manager/gallery/js/gallery.js
+++ b/ui/file_manager/gallery/js/gallery.js
@@ -1059,8 +1059,7 @@ var loadTimeDataPromise = new Promise(function(fulfill, reject) {
* @type {!Promise}
*/
var volumeManagerPromise = new Promise(function(fulfill, reject) {
- var volumeManager = new VolumeManagerWrapper(
- VolumeManagerWrapper.NonNativeVolumeStatus.ENABLED);
+ var volumeManager = new VolumeManagerWrapper(AllowedPaths.ANY_PATH);
volumeManager.ensureInitialized(fulfill.bind(null, volumeManager));
});
« no previous file with comments | « ui/file_manager/file_manager/foreground/js/volume_manager_wrapper.js ('k') | ui/file_manager/video_player/js/video_player.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698