| 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 757955f6e91fdb278cf7bc7b2fba8297d8eec6ed..995e1ec4be43a9c1615f828e4a981034395292bc 100644
|
| --- a/ui/file_manager/file_manager/common/js/util.js
|
| +++ b/ui/file_manager/file_manager/common/js/util.js
|
| @@ -1155,7 +1155,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);
|
| @@ -1174,7 +1174,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.
|
| @@ -1350,7 +1350,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) {
|
|
|