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

Unified Diff: ui/file_manager/file_manager/common/js/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/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) {

Powered by Google App Engine
This is Rietveld 408576698