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

Unified Diff: ui/file_manager/file_manager/background/js/test_util.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/background/js/test_util.js
diff --git a/ui/file_manager/file_manager/background/js/test_util.js b/ui/file_manager/file_manager/background/js/test_util.js
index a6d228aa554e2508b8e36d7f2a3411dcfdcff64a..6b92b3b55059cdade17589906e04b15ef4b0e18c 100644
--- a/ui/file_manager/file_manager/background/js/test_util.js
+++ b/ui/file_manager/file_manager/background/js/test_util.js
@@ -579,7 +579,7 @@ test.util.sync.overrideInstallWebstoreItemApi =
};
test.util.executedTasks_ = [];
- contentWindow.chrome.fileBrowserPrivate.installWebstoreItem =
+ contentWindow.chrome.fileManagerPrivate.installWebstoreItem =
installWebstoreItem;
return true;
};
@@ -589,7 +589,7 @@ test.util.sync.overrideInstallWebstoreItemApi =
*
* @param {Window} contentWindow Window to be tested.
* @param {Array.<Object>} taskList List of tasks to be returned in
- * fileBrowserPrivate.getFileTasks().
+ * fileManagerPrivate.getFileTasks().
* @return {boolean} Always return true.
*/
test.util.sync.overrideTasks = function(contentWindow, taskList) {
@@ -611,9 +611,9 @@ test.util.sync.overrideTasks = function(contentWindow, taskList) {
};
test.util.executedTasks_ = [];
- contentWindow.chrome.fileBrowserPrivate.getFileTasks = getFileTasks;
- contentWindow.chrome.fileBrowserPrivate.executeTask = executeTask;
- contentWindow.chrome.fileBrowserPrivate.setDefaultTask = setDefaultTask;
+ contentWindow.chrome.fileManagerPrivate.getFileTasks = getFileTasks;
+ contentWindow.chrome.fileManagerPrivate.executeTask = executeTask;
+ contentWindow.chrome.fileManagerPrivate.setDefaultTask = setDefaultTask;
return true;
};
@@ -631,7 +631,7 @@ test.util.sync.getExecutedTasks = function(contentWindow) {
};
/**
- * Invoke chrome.fileBrowserPrivate.visitDesktop(profileId) to cause window
+ * Invoke chrome.fileManagerPrivate.visitDesktop(profileId) to cause window
* teleportation.
*
* @param {Window} contentWindow Window to be tested.
@@ -639,7 +639,7 @@ test.util.sync.getExecutedTasks = function(contentWindow) {
* @return {boolean} Always return true.
*/
test.util.sync.visitDesktop = function(contentWindow, profileId) {
- contentWindow.chrome.fileBrowserPrivate.visitDesktop(profileId);
+ contentWindow.chrome.fileManagerPrivate.visitDesktop(profileId);
return true;
};

Powered by Google App Engine
This is Rietveld 408576698