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

Unified Diff: chrome/browser/resources/file_manager/foreground/js/media/video_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/video_player.js
diff --git a/chrome/browser/resources/file_manager/foreground/js/media/video_player.js b/chrome/browser/resources/file_manager/foreground/js/media/video_player.js
index 9b4b663fdc1c72df588a2de6b11b5142788898d7..3bad4bbfeddb5faaa8465503f80a860a559f401c 100644
--- a/chrome/browser/resources/file_manager/foreground/js/media/video_player.js
+++ b/chrome/browser/resources/file_manager/foreground/js/media/video_player.js
@@ -141,11 +141,11 @@ function loadVideoPlayer() {
document.querySelector('#video-container'),
document.querySelector('#controls'));
- metadataCache = MetadataCache.createFull();
volumeManager = new VolumeManagerWrapper(
VolumeManagerWrapper.DriveEnabledStatus.DRIVE_ENABLED);
volumeManager.addEventListener('externally-unmounted',
onExternallyUnmounted);
+ metadataCache = MetadataCache.createFull(volumeManager);
// If the video player is starting before the first instance of the File
// Manager then it does not have access to filesystem URLs.

Powered by Google App Engine
This is Rietveld 408576698