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

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 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},

Powered by Google App Engine
This is Rietveld 408576698