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

Unified Diff: ui/file_manager/file_manager/foreground/js/file_selection.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_selection.js
diff --git a/ui/file_manager/file_manager/foreground/js/file_selection.js b/ui/file_manager/file_manager/foreground/js/file_selection.js
index edbf40ebaa8e8a193fbf7ffb6bef7c94a8eafc65..3d2f85264a6aa2daa4b9b1e913b94b7021908290 100644
--- a/ui/file_manager/file_manager/foreground/js/file_selection.js
+++ b/ui/file_manager/file_manager/foreground/js/file_selection.js
@@ -109,7 +109,7 @@ function FileSelection(fileManager, indexes) {
*/
FileSelection.prototype.completeInit = function() {
if (!this.asyncInitPromise_) {
- this.asyncInitPromise_ = this.fileManager_.getFileSystemMetadata().get(
+ this.asyncInitPromise_ = this.fileManager_.getMetadataModel().get(
this.entries, ['availableOffline', 'contentMimeType']
).then(function(props) {
var present = props.filter(function(p) { return p.availableOffline; });

Powered by Google App Engine
This is Rietveld 408576698