| 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 8c6f01b5f3a134b5c1b9ddd7825009a1782df5c0..98bf9232f8d237486bc3794353d928f67018c60f 100644
|
| --- a/ui/file_manager/file_manager/foreground/js/file_tasks.js
|
| +++ b/ui/file_manager/file_manager/foreground/js/file_tasks.js
|
| @@ -92,7 +92,7 @@ FileTasks.prototype.init = function(entries, opt_mimeTypes) {
|
| // TODO(mtomasz): Move conversion from entry to url to custom bindings.
|
| 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));
|
| };
|
|
|
| /**
|
| @@ -400,7 +400,7 @@ FileTasks.prototype.executeDefaultInternal_ = function(entries, opt_callback) {
|
| // TODO(mtomasz): Pass entries instead.
|
| 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));
|
| };
|
|
|
| @@ -433,7 +433,7 @@ FileTasks.prototype.executeInternal_ = function(taskId, entries) {
|
| } else {
|
| // TODO(mtomasz): Pass entries instead.
|
| 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) {
|
| @@ -542,7 +542,7 @@ FileTasks.prototype.executeInternalTask_ = function(id, entries) {
|
| // TODO(mtomasz): Pass entries instead.
|
| 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},
|
|
|