| Index: ui/file_manager/file_manager/foreground/js/dialog_action_controller.js
|
| diff --git a/ui/file_manager/file_manager/foreground/js/dialog_action_controller.js b/ui/file_manager/file_manager/foreground/js/dialog_action_controller.js
|
| index 0505c5d3b0c64ef9d9c80031d04c26bb28dbbf01..aa49006ad8202b2af5420e36331d1ee5ec08591a 100644
|
| --- a/ui/file_manager/file_manager/foreground/js/dialog_action_controller.js
|
| +++ b/ui/file_manager/file_manager/foreground/js/dialog_action_controller.js
|
| @@ -9,7 +9,7 @@
|
| * @param {DialogType} dialogType Dialog type.
|
| * @param {!DialogFooter} dialogFooter Dialog footer.
|
| * @param {!DirectoryModel} directoryModel Directory model.
|
| - * @param {!FileSystemMetadata} fileSystemMetadata Metadata cache.
|
| + * @param {!MetadataModel} metadataModel Metadata cache.
|
| * @param {!VolumeManagerWrapper} volumeManager Volume manager.
|
| * @param {!FileFilter} fileFilter File filter model.
|
| * @param {!NamingController} namingController Naming controller.
|
| @@ -23,7 +23,7 @@ function DialogActionController(
|
| dialogType,
|
| dialogFooter,
|
| directoryModel,
|
| - fileSystemMetadata,
|
| + metadataModel,
|
| volumeManager,
|
| fileFilter,
|
| namingController,
|
| @@ -51,11 +51,11 @@ function DialogActionController(
|
| this.directoryModel_ = directoryModel;
|
|
|
| /**
|
| - * @type {!FileSystemMetadata}
|
| + * @type {!MetadataModel}
|
| * @const
|
| * @private
|
| */
|
| - this.fileSystemMetadata_ = fileSystemMetadata;
|
| + this.metadataModel_ = metadataModel;
|
|
|
| /**
|
| * @type {!VolumeManagerWrapper}
|
| @@ -369,7 +369,7 @@ DialogActionController.prototype.selectFilesAndClose_ = function(selection) {
|
|
|
| // TODO(mtomasz): Use Entry instead of URLs, if possible.
|
| util.URLsToEntries(selection.urls, function(entries) {
|
| - this.fileSystemMetadata_.get(entries, ['present']).then(onProperties);
|
| + this.metadataModel_.get(entries, ['present']).then(onProperties);
|
| }.bind(this));
|
| };
|
|
|
|
|