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

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 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) {

Powered by Google App Engine
This is Rietveld 408576698