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

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

Issue 400133002: Remove unused argument of getOne(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 6 years, 5 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 | « no previous file | 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/metadata_cache.js
diff --git a/ui/file_manager/file_manager/foreground/js/metadata/metadata_cache.js b/ui/file_manager/file_manager/foreground/js/metadata/metadata_cache.js
index 79e19e2c57a82e6f328afdeabfda9ab75f8cc2c7..e64307d57e1f97fd45a21193e988078cc2c0f988 100644
--- a/ui/file_manager/file_manager/foreground/js/metadata/metadata_cache.js
+++ b/ui/file_manager/file_manager/foreground/js/metadata/metadata_cache.js
@@ -259,13 +259,14 @@ MetadataCache.prototype.getInternal_ =
/**
* Fetches the metadata for one Entry. See comments to |get|.
+ * If required metadata is already in the cache, does not fetch it again.
*
* @param {Entry} entry The entry.
* @param {string} type Metadata type.
* @param {function(Object)} callback The metadata is passed to callback.
* The callback is called asynchronously.
*/
-MetadataCache.prototype.getOne = function(entry, type, callback, refresh) {
+MetadataCache.prototype.getOne = function(entry, type, callback) {
this.getOneInternal_(entry, type, false, callback);
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698