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

Unified Diff: ui/file_manager/file_manager/foreground/js/file_transfer_controller.js

Issue 971723002: Files.app: Rename FileSystemMetadata with MetadataModel. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed. Created 5 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/file_transfer_controller.js
diff --git a/ui/file_manager/file_manager/foreground/js/file_transfer_controller.js b/ui/file_manager/file_manager/foreground/js/file_transfer_controller.js
index adc9be5409ef60aaaf8d6c7280b3533136aeb558..5ef1622cb1c61bb221ed04b94f73b89926399da7 100644
--- a/ui/file_manager/file_manager/foreground/js/file_transfer_controller.js
+++ b/ui/file_manager/file_manager/foreground/js/file_transfer_controller.js
@@ -24,7 +24,7 @@ var FileAsyncData;
* @param {!ProgressCenter} progressCenter To notify starting copy operation.
* @param {!FileOperationManager} fileOperationManager File operation manager
* instance.
- * @param {!FileSystemMetadata} fileSystemMetadata Metadata cache service.
+ * @param {!MetadataModel} metadataModel Metadata cache service.
* @param {!ThumbnailModel} thumbnailModel
* @param {!DirectoryModel} directoryModel Directory model instance.
* @param {!VolumeManagerWrapper} volumeManager Volume manager instance.
@@ -38,7 +38,7 @@ function FileTransferController(doc,
multiProfileShareDialog,
progressCenter,
fileOperationManager,
- fileSystemMetadata,
+ metadataModel,
thumbnailModel,
directoryModel,
volumeManager,
@@ -65,11 +65,11 @@ function FileTransferController(doc,
this.fileOperationManager_ = fileOperationManager;
/**
- * @type {!FileSystemMetadata}
+ * @type {!MetadataModel}
* @private
* @const
*/
- this.fileSystemMetadata_ = fileSystemMetadata;
+ this.metadataModel_ = metadataModel;
/**
* @type {!ThumbnailModel}
@@ -1106,7 +1106,7 @@ FileTransferController.prototype.onFileSelectionChangedThrottled_ = function() {
this.preloadThumbnailImage_(entries[0]);
}
- this.fileSystemMetadata_.get(entries, ['externalFileUrl']).then(
+ this.metadataModel_.get(entries, ['externalFileUrl']).then(
function(metadataList) {
// |Copy| is the only menu item affected by allDriveFilesAvailable_.
// It could be open right now, update its UI.

Powered by Google App Engine
This is Rietveld 408576698