Index: ui/file_manager/file_manager/background/js/background.js |
diff --git a/ui/file_manager/file_manager/background/js/background.js b/ui/file_manager/file_manager/background/js/background.js |
index 57239b6b72ba7b3ab2ada5712b76f6b4e3a036bf..a38eca349bc195cf360ebe209a1cbb965324b7b0 100644 |
--- a/ui/file_manager/file_manager/background/js/background.js |
+++ b/ui/file_manager/file_manager/background/js/background.js |
@@ -83,7 +83,7 @@ function Background() { |
* @type {Promise} |
*/ |
this.stringDataPromise = new Promise(function(fulfill) { |
- chrome.fileBrowserPrivate.getStrings(fulfill); |
+ chrome.fileManagerPrivate.getStrings(fulfill); |
}); |
/** |
@@ -291,14 +291,14 @@ AppWindowWrapper.focusOnDesktop = function(appWindow, opt_profileId) { |
if (opt_profileId) { |
onFulfilled(opt_profileId); |
} else { |
- chrome.fileBrowserPrivate.getProfiles(function(profiles, |
+ chrome.fileManagerPrivate.getProfiles(function(profiles, |
currentId, |
displayedId) { |
onFulfilled(currentId); |
}); |
} |
}).then(function(profileId) { |
- appWindow.contentWindow.chrome.fileBrowserPrivate.visitDesktop( |
+ appWindow.contentWindow.chrome.fileManagerPrivate.visitDesktop( |
profileId, function() { |
appWindow.focus(); |
}); |