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

Unified Diff: chrome/browser/resources/file_manager/foreground/js/media/audio_player.js

Issue 130663002: Get rid of fullPath in the metadata cache. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed. Created 6 years, 11 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: chrome/browser/resources/file_manager/foreground/js/media/audio_player.js
diff --git a/chrome/browser/resources/file_manager/foreground/js/media/audio_player.js b/chrome/browser/resources/file_manager/foreground/js/media/audio_player.js
index 4791c31f92b9077364414c861a3e2c948efea043..acb7472d357fb0138e6366808fb748e61092e04f 100644
--- a/chrome/browser/resources/file_manager/foreground/js/media/audio_player.js
+++ b/chrome/browser/resources/file_manager/foreground/js/media/audio_player.js
@@ -12,12 +12,12 @@
*/
function AudioPlayer(container) {
this.container_ = container;
- this.metadataCache_ = MetadataCache.createFull();
this.currentTrack_ = -1;
this.playlistGeneration_ = 0;
this.selectedEntry_ = null;
this.volumeManager_ = new VolumeManagerWrapper(
VolumeManagerWrapper.DriveEnabledStatus.DRIVE_ENABLED);
+ this.metadataCache_ = MetadataCache.createFull(this.volumeManager_);
this.container_.classList.add('collapsed');

Powered by Google App Engine
This is Rietveld 408576698