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

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

Issue 932343003: Files.app: Move ContentMetadataProvider from ThumbnailModel to FileSystemMetadata. (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
« no previous file with comments | « no previous file | ui/file_manager/file_manager/foreground/js/main_scripts.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/foreground/js/file_manager.js
diff --git a/ui/file_manager/file_manager/foreground/js/file_manager.js b/ui/file_manager/file_manager/foreground/js/file_manager.js
index b7758a32397482bc8932cda68a118ebc64e6b21a..cb5f951adc41922b8c34fcb0aa6968175bd79b75 100644
--- a/ui/file_manager/file_manager/foreground/js/file_manager.js
+++ b/ui/file_manager/file_manager/foreground/js/file_manager.js
@@ -695,14 +695,10 @@ FileManager.prototype = /** @struct */ {
// Create the metadata cache.
assert(this.volumeManager_);
- this.fileSystemMetadata_ = new FileSystemMetadata(
+ this.fileSystemMetadata_ = FileSystemMetadata.create(
this.metadataProviderCache_,
- new FileSystemMetadataProvider(this.metadataProviderCache_),
- new ExternalMetadataProvider(this.metadataProviderCache_),
this.volumeManager_);
- this.thumbnailModel_ = new ThumbnailModel(
- this.fileSystemMetadata_,
- new ContentMetadataProvider(this.metadataProviderCache_));
+ this.thumbnailModel_ = new ThumbnailModel(this.fileSystemMetadata_);
// Create the root view of FileManager.
assert(this.dialogDom_);
« no previous file with comments | « no previous file | ui/file_manager/file_manager/foreground/js/main_scripts.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698