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

Unified Diff: ui/file_manager/video_player/js/cast/media_manager.js

Issue 550863003: Rename fileBrowserPrivate to fileManagerPrivate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « ui/file_manager/video_player/js/cast/caster.js ('k') | ui/file_manager/video_player/js/video_player.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/video_player/js/cast/media_manager.js
diff --git a/ui/file_manager/video_player/js/cast/media_manager.js b/ui/file_manager/video_player/js/cast/media_manager.js
index 16a118f582b5c75433f5dcb2f5a9759f8fbed9ac..dbf8b8d7e7df4521f78a92bd00e29b8adefe0a9c 100644
--- a/ui/file_manager/video_player/js/cast/media_manager.js
+++ b/ui/file_manager/video_player/js/cast/media_manager.js
@@ -49,7 +49,7 @@ MediaManager.prototype.getToken = function(refresh) {
return new Promise(function(fulfill, reject) {
// TODO(yoshiki): Creates the method to get a token and use it.
- chrome.fileBrowserPrivate.getDownloadUrl(this.entry_.toURL(), fulfill);
+ chrome.fileManagerPrivate.getDownloadUrl(this.entry_.toURL(), fulfill);
}.bind(this)).then(function(url) {
if (chrome.runtime.lastError) {
return Promise.reject(
@@ -78,7 +78,7 @@ MediaManager.prototype.getUrl = function() {
return new Promise(function(fulfill, reject) {
// TODO(yoshiki): Creates the method to get a url and use it.
- chrome.fileBrowserPrivate.getDownloadUrl(this.entry_.toURL(), fulfill);
+ chrome.fileManagerPrivate.getDownloadUrl(this.entry_.toURL(), fulfill);
}.bind(this)).then(function(url) {
if (chrome.runtime.lastError) {
return Promise.reject(
@@ -105,7 +105,7 @@ MediaManager.prototype.getMime = function() {
return Promise.resolve(this.cachedDriveProp_.contentMimeType || '');
return new Promise(function(fulfill, reject) {
- chrome.fileBrowserPrivate.getEntryProperties(
+ chrome.fileManagerPrivate.getEntryProperties(
[this.entry_.toURL()], fulfill);
}.bind(this)).then(function(props) {
if (!props || !props[0]) {
@@ -131,7 +131,7 @@ MediaManager.prototype.getThumbnail = function() {
return Promise.resolve(this.cachedDriveProp_.thumbnailUrl || '');
return new Promise(function(fulfill, reject) {
- chrome.fileBrowserPrivate.getEntryProperties(
+ chrome.fileManagerPrivate.getEntryProperties(
[this.entry_.toURL()], fulfill);
}.bind(this)).then(function(props) {
if (!props || !props[0]) {
« no previous file with comments | « ui/file_manager/video_player/js/cast/caster.js ('k') | ui/file_manager/video_player/js/video_player.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698