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} |