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

Unified Diff: chrome/test/data/file_manager/unit_tests/file_operation_manager_unittest.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: chrome/test/data/file_manager/unit_tests/file_operation_manager_unittest.js
diff --git a/chrome/test/data/file_manager/unit_tests/file_operation_manager_unittest.js b/chrome/test/data/file_manager/unit_tests/file_operation_manager_unittest.js
index d447c1b9cdc7a9e4f0ae07c3f74524273b6d1d06..2677c85b7eb541bd589edc52e628c329783bfcf2 100644
--- a/chrome/test/data/file_manager/unit_tests/file_operation_manager_unittest.js
+++ b/chrome/test/data/file_manager/unit_tests/file_operation_manager_unittest.js
@@ -28,17 +28,17 @@ chrome.power = {
};
/**
- * Mock of chrome.fileBrowserPrivate.
+ * Mock of chrome.fileManagerPrivate.
* @type {Object}
* @const
*/
-chrome.fileBrowserPrivate = {
+chrome.fileManagerPrivate = {
onCopyProgress: {
addListener: function(callback) {
- chrome.fileBrowserPrivate.onCopyProgress.listener_ = callback;
+ chrome.fileManagerPrivate.onCopyProgress.listener_ = callback;
},
removeListener: function() {
- chrome.fileBrowserPrivate.onCopyProgress.listener_ = null;
+ chrome.fileManagerPrivate.onCopyProgress.listener_ = null;
},
listener_: null
}
@@ -243,13 +243,13 @@ function testCopy(callback) {
window.webkitResolveLocalFileSystemURL =
resolveTestFileSystemURL.bind(null, fileSystem);
- chrome.fileBrowserPrivate.startCopy =
+ chrome.fileManagerPrivate.startCopy =
function(source, destination, newName, callback) {
var makeStatus = function(type) {
return {type: type, sourceUrl: source, destinationUrl: destination};
};
callback(1);
- var listener = chrome.fileBrowserPrivate.onCopyProgress.listener_;
+ var listener = chrome.fileManagerPrivate.onCopyProgress.listener_;
listener(1, makeStatus('begin_copy_entry'));
listener(1, makeStatus('progress'));
var newPath = joinPath('/', newName);
@@ -396,7 +396,7 @@ function testZip(callback) {
});
window.webkitResolveLocalFileSystemURL =
resolveTestFileSystemURL.bind(null, fileSystem);
- chrome.fileBrowserPrivate.zipSelection =
+ chrome.fileManagerPrivate.zipSelection =
function(parentURL, sources, newName, success, error) {
var newPath = joinPath('/', newName);
var newEntry = new MockFileEntry(fileSystem, newPath, {size: 10});
« no previous file with comments | « chrome/test/data/file_manager/unit_tests/device_handler_unittest.js ('k') | chrome/test/ext_auto/auto_provider/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698