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