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

Unified Diff: ui/file_manager/image_loader/image_loader.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
« no previous file with comments | « ui/file_manager/gallery/manifest.json ('k') | ui/file_manager/image_loader/manifest.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/image_loader/image_loader.js
diff --git a/ui/file_manager/image_loader/image_loader.js b/ui/file_manager/image_loader/image_loader.js
index 3f31c70e3bb7a6508c634eac48ac8fa6d4bafb24..a9019da2f7e56c4c563767f2aed06e8516e6cb93 100644
--- a/ui/file_manager/image_loader/image_loader.js
+++ b/ui/file_manager/image_loader/image_loader.js
@@ -25,10 +25,10 @@ function ImageLoader() {
// Grant permissions to all volumes, initialize the cache and then start the
// worker.
- chrome.fileBrowserPrivate.getVolumeMetadataList(function(volumeMetadataList) {
+ chrome.fileManagerPrivate.getVolumeMetadataList(function(volumeMetadataList) {
var initPromises = volumeMetadataList.map(function(volumeMetadata) {
var requestPromise = new Promise(function(callback) {
- chrome.fileBrowserPrivate.requestFileSystem(
+ chrome.fileManagerPrivate.requestFileSystem(
volumeMetadata.volumeId,
callback);
});
@@ -40,10 +40,10 @@ function ImageLoader() {
Promise.all(initPromises).then(this.worker_.start.bind(this.worker_));
// Listen for mount events, and grant permissions to volumes being mounted.
- chrome.fileBrowserPrivate.onMountCompleted.addListener(
+ chrome.fileManagerPrivate.onMountCompleted.addListener(
function(event) {
if (event.eventType == 'mount' && event.status == 'success') {
- chrome.fileBrowserPrivate.requestFileSystem(
+ chrome.fileManagerPrivate.requestFileSystem(
event.volumeMetadata.volumeId, function() {});
}
});
« no previous file with comments | « ui/file_manager/gallery/manifest.json ('k') | ui/file_manager/image_loader/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698