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

Unified Diff: ui/file_manager/file_manager/foreground/js/metadata/new_metadata_provider.js

Issue 897573003: Fix annottation of FileEntry to Entry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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
« no previous file with comments | « ui/file_manager/file_manager/foreground/js/metadata/metadata_cache_set.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/foreground/js/metadata/new_metadata_provider.js
diff --git a/ui/file_manager/file_manager/foreground/js/metadata/new_metadata_provider.js b/ui/file_manager/file_manager/foreground/js/metadata/new_metadata_provider.js
index a3c767d815d29aa9dd65ccfcb62c1677b0cc6aea..ccfd2274f49dc6732aa0f50c3554a23d8c9d6345 100644
--- a/ui/file_manager/file_manager/foreground/js/metadata/new_metadata_provider.js
+++ b/ui/file_manager/file_manager/foreground/js/metadata/new_metadata_provider.js
@@ -45,7 +45,7 @@ NewMetadataProvider.prototype.getImpl;
/**
* Obtains metadata for entries.
- * @param {!Array<!FileEntry>} entries Entries.
+ * @param {!Array<!Entry>} entries Entries.
* @param {!Array<string>} names Metadata property names to be obtained.
* @return {!Promise<!Array<!T>>}
*/
@@ -116,7 +116,7 @@ NewMetadataProvider.prototype.get = function(entries, names) {
/**
* Obtains metadata cache for entries.
- * @param {!Array<!FileEntry>} entries Entries.
+ * @param {!Array<!Entry>} entries Entries.
* @param {!Array<string>} names Metadata property names to be obtained.
* @return {!Array<!T>}
*/
@@ -125,7 +125,7 @@ NewMetadataProvider.prototype.getCache = function(entries, names) {
};
/**
- * @param {!Array<!FileEntry>} entries
+ * @param {!Array<!Entry>} entries
* @param {!Array<string>} names
* @param {!MetadataCacheSet} cache
* @param {function(!T):undefined} fulfill
@@ -137,7 +137,7 @@ NewMetadataProvider.prototype.getCache = function(entries, names) {
function MetadataProviderCallbackRequest(
entries, names, cache, fulfill, reject) {
/**
- * @private {!Array<!FileEntry>}
+ * @private {!Array<!Entry>}
* @const
*/
this.entries_ = entries;
@@ -171,7 +171,7 @@ function MetadataProviderCallbackRequest(
* Stores properties to snapshot cache of the callback request.
* If all the requested property are served, it invokes the callback.
* @param {number} requestId
- * @param {!Array<!FileEntry>} entries
+ * @param {!Array<!Entry>} entries
* @param {!Array<!Object>} objects
* @return {boolean} Whether the callback is invoked or not.
*/
« no previous file with comments | « ui/file_manager/file_manager/foreground/js/metadata/metadata_cache_set.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698