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

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

Issue 921683003: Files.app: Update metadata by using new metadata cache event. (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
Index: ui/file_manager/file_manager/foreground/js/directory_model.js
diff --git a/ui/file_manager/file_manager/foreground/js/directory_model.js b/ui/file_manager/file_manager/foreground/js/directory_model.js
index 5b3c6476660e9f6747673e2cc25f64b976988420..da4a8ace44e3af4db5444dd090f2c13cddab1912 100644
--- a/ui/file_manager/file_manager/foreground/js/directory_model.js
+++ b/ui/file_manager/file_manager/foreground/js/directory_model.js
@@ -122,6 +122,14 @@ DirectoryModel.prototype.getCurrentRootType = function() {
};
/**
+ * Metadata property names that are expected to be Prefetched.
+ * @return {!Array<string>}
+ */
+DirectoryModel.prototype.getPrefetchPropertyNames = function() {
+ return this.currentFileListContext_.prefetchPropertyNames;
+};
+
+/**
* @return {boolean} True if the current directory is read only. If there is
* no entry set, then returns true.
*/

Powered by Google App Engine
This is Rietveld 408576698