Index: ui/file_manager/file_manager/common/js/util.js |
diff --git a/ui/file_manager/file_manager/common/js/util.js b/ui/file_manager/file_manager/common/js/util.js |
index b548b4f9d8087d66b40f213e76d4934cb43bc9a6..5e3e940731b65dd522def084a6d0ec601b864ecd 100644 |
--- a/ui/file_manager/file_manager/common/js/util.js |
+++ b/ui/file_manager/file_manager/common/js/util.js |
@@ -1152,7 +1152,7 @@ util.URLsToEntries = function(urls, opt_callback) { |
*/ |
util.isTeleported = function(window) { |
return new Promise(function(onFulfilled) { |
- window.chrome.fileBrowserPrivate.getProfiles(function(profiles, |
+ window.chrome.fileManagerPrivate.getProfiles(function(profiles, |
currentId, |
displayedId) { |
onFulfilled(currentId !== displayedId); |
@@ -1171,7 +1171,7 @@ util.isTeleported = function(window) { |
util.showOpenInOtherDesktopAlert = function(alertDialog, entries) { |
if (!entries.length) |
return; |
- chrome.fileBrowserPrivate.getProfiles(function(profiles, |
+ chrome.fileManagerPrivate.getProfiles(function(profiles, |
currentId, |
displayedId) { |
// Find strings. |
@@ -1347,7 +1347,7 @@ util.validateFileName = function(parentEntry, name, filterHiddenOn) { |
return Promise.reject(str('ERROR_HIDDEN_NAME')); |
return new Promise(function(fulfill, reject) { |
- chrome.fileBrowserPrivate.validatePathNameLength( |
+ chrome.fileManagerPrivate.validatePathNameLength( |
parentEntry.toURL(), |
name, |
function(valid) { |