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

Unified Diff: ui/file_manager/file_manager/foreground/js/file_tasks.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
Index: ui/file_manager/file_manager/foreground/js/file_tasks.js
diff --git a/ui/file_manager/file_manager/foreground/js/file_tasks.js b/ui/file_manager/file_manager/foreground/js/file_tasks.js
index 2d61d4f8898908515b29f9e57d92412a67da034b..647d62e94d59990c64d1ec0f65064ab1cb22193a 100644
--- a/ui/file_manager/file_manager/foreground/js/file_tasks.js
+++ b/ui/file_manager/file_manager/foreground/js/file_tasks.js
@@ -93,7 +93,7 @@ FileTasks.prototype.init = function(entries, opt_mimeTypes) {
// crbug.com/345527.
var urls = util.entriesToURLs(entries);
if (urls.length > 0)
- chrome.fileBrowserPrivate.getFileTasks(urls, this.onTasks_.bind(this));
+ chrome.fileManagerPrivate.getFileTasks(urls, this.onTasks_.bind(this));
};
/**
@@ -402,7 +402,7 @@ FileTasks.prototype.executeDefaultInternal_ = function(entries, opt_callback) {
// crbug.com/345527.
var urls = util.entriesToURLs(entries);
var taskId = chrome.runtime.id + '|file|view-in-browser';
- chrome.fileBrowserPrivate.executeTask(taskId, urls, onViewFiles);
+ chrome.fileManagerPrivate.executeTask(taskId, urls, onViewFiles);
}.bind(this));
};
@@ -436,7 +436,7 @@ FileTasks.prototype.executeInternal_ = function(taskId, entries) {
// TODO(mtomasz): Move conversion from entry to url to custom bindings.
// crbug.com/345527.
var urls = util.entriesToURLs(entries);
- chrome.fileBrowserPrivate.executeTask(taskId, urls, function(result) {
+ chrome.fileManagerPrivate.executeTask(taskId, urls, function(result) {
if (result !== 'message_sent')
return;
util.isTeleported(window).then(function(teleported) {
@@ -546,7 +546,7 @@ FileTasks.prototype.executeInternalTask_ = function(id, entries) {
// crbug.com/345527.
var urls = util.entriesToURLs(entries);
var position = urls.indexOf(selectedEntry.toURL());
- chrome.fileBrowserPrivate.getProfiles(function(profiles,
+ chrome.fileManagerPrivate.getProfiles(function(profiles,
currentId,
displayedId) {
fm.backgroundPage.launchAudioPlayer({items: urls, position: position},

Powered by Google App Engine
This is Rietveld 408576698