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

Unified Diff: ui/file_manager/file_manager/foreground/js/launch_param.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/file_manager/foreground/js/launch_param.js
diff --git a/ui/file_manager/file_manager/foreground/js/launch_param.js b/ui/file_manager/file_manager/foreground/js/launch_param.js
index a987dd73e3e8cb6322b226b3357ae39318f47d0a..47f121a6cc9d40848f8a69d60de4f9215b4c4062 100644
--- a/ui/file_manager/file_manager/foreground/js/launch_param.js
+++ b/ui/file_manager/file_manager/foreground/js/launch_param.js
@@ -61,10 +61,11 @@ function LaunchParam(unformatted) {
this.includeAllFiles = !!unformatted['includeAllFiles'];
/**
- * @type {boolean}
+ * @type {!AllowedPaths}
* @const
*/
- this.shouldReturnLocalPath = !!unformatted['shouldReturnLocalPath'];
+ this.allowedPaths = unformatted['allowedPaths'] ?
+ unformatted['allowedPaths'] : AllowedPaths.ANY_PATH;
/**
* @type {!SuggestAppDialogState}

Powered by Google App Engine
This is Rietveld 408576698