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

Unified Diff: ui/file_manager/file_manager/foreground/js/metadata/thumbnail_model.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/metadata/thumbnail_model.js
diff --git a/ui/file_manager/file_manager/foreground/js/metadata/thumbnail_model.js b/ui/file_manager/file_manager/foreground/js/metadata/thumbnail_model.js
index 16f4a5f9f09de1d1ee17d7379ddb6f69983e4389..e5b690e03cba6c112657488fc38932ba085f0deb 100644
--- a/ui/file_manager/file_manager/foreground/js/metadata/thumbnail_model.js
+++ b/ui/file_manager/file_manager/foreground/js/metadata/thumbnail_model.js
@@ -3,16 +3,16 @@
// found in the LICENSE file.
/**
- * @param {!FileSystemMetadata} fileSystemMetadata
+ * @param {!MetadataModel} metadataModel
* @struct
* @constructor
*/
-function ThumbnailModel(fileSystemMetadata) {
+function ThumbnailModel(metadataModel) {
/**
- * @private {!FileSystemMetadata}
+ * @private {!MetadataModel}
* @const
*/
- this.fileSystemMetadata_ = fileSystemMetadata;
+ this.metadataModel_ = metadataModel;
}
/**
@@ -21,7 +21,7 @@ function ThumbnailModel(fileSystemMetadata) {
*/
ThumbnailModel.prototype.get = function(entries) {
var results = {};
- return this.fileSystemMetadata_.get(
+ return this.metadataModel_.get(
entries,
[
'modificationTime',
@@ -53,7 +53,7 @@ ThumbnailModel.prototype.get = function(entries) {
contentRequestEntries.push(entries[i]);
}
if (contentRequestEntries.length) {
- return this.fileSystemMetadata_.get(
+ return this.metadataModel_.get(
contentRequestEntries,
[
'contentThumbnailUrl',

Powered by Google App Engine
This is Rietveld 408576698