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

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

Issue 529413002: Rename DriveProvider to ExternalProvider. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed. Created 6 years, 3 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/directory_contents.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/audio_player/js/audio_player.js
diff --git a/ui/file_manager/file_manager/audio_player/js/audio_player.js b/ui/file_manager/file_manager/audio_player/js/audio_player.js
index f3603cd2702ae1c18d03d3aa1cb32121920767b8..c4b3a7cd3a3121b66f4b7c798909112c004d4f37 100644
--- a/ui/file_manager/file_manager/audio_player/js/audio_player.js
+++ b/ui/file_manager/file_manager/audio_player/js/audio_player.js
@@ -230,7 +230,7 @@ AudioPlayer.prototype.select_ = function(newTrack) {
* @private
*/
AudioPlayer.prototype.fetchMetadata_ = function(entry, callback) {
- this.metadataCache_.getOne(entry, 'thumbnail|media|drive',
+ this.metadataCache_.getOne(entry, 'thumbnail|media|external',
function(generation, metadata) {
// Do nothing if another load happened since the metadata request.
if (this.playlistGeneration_ == generation)
@@ -250,7 +250,7 @@ AudioPlayer.prototype.onError_ = function() {
this.fetchMetadata_(
this.entries_[track],
function(metadata) {
- var error = (!navigator.onLine && !metadata.drive.present) ?
+ var error = (!navigator.onLine && !metadata.external.present) ?
this.offlineString_ : this.errorString_;
this.displayMetadata_(track, metadata, error);
this.scheduleAutoAdvance_();
« no previous file with comments | « no previous file | ui/file_manager/file_manager/foreground/js/directory_contents.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698