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

Unified Diff: chrome/test/data/extensions/api_test/file_system_provider/unmount/test.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/extensions/api_test/file_system_provider/unmount/test.js
diff --git a/chrome/test/data/extensions/api_test/file_system_provider/unmount/test.js b/chrome/test/data/extensions/api_test/file_system_provider/unmount/test.js
index 1b7ea0d1376fc838694a1593f9b8b84549973c45..2daeba6b3cc897ce4a14a5e2888e9061276a766f 100644
--- a/chrome/test/data/extensions/api_test/file_system_provider/unmount/test.js
+++ b/chrome/test/data/extensions/api_test/file_system_provider/unmount/test.js
@@ -58,12 +58,12 @@ function runTests() {
chrome.runtime.id, event.volumeMetadata.extensionId);
chrome.test.assertEq(
FIRST_FILE_SYSTEM_ID, event.volumeMetadata.fileSystemId);
- chrome.fileBrowserPrivate.onMountCompleted.removeListener(
+ chrome.fileManagerPrivate.onMountCompleted.removeListener(
onMountCompleted);
onTestSuccess();
};
- chrome.fileBrowserPrivate.onMountCompleted.addListener(
+ chrome.fileManagerPrivate.onMountCompleted.addListener(
onMountCompleted);
chrome.fileSystemProvider.unmount(
{fileSystemId: FIRST_FILE_SYSTEM_ID},
@@ -90,7 +90,7 @@ function runTests() {
});
},
- // Tests if fileBrowserPrivate.removeMount() for provided file systems emits
+ // Tests if fileManagerPrivate.removeMount() for provided file systems emits
// the onMountRequested() event with correct arguments.
function requestUnmountSuccess() {
var onTestSuccess = chrome.test.callbackPass();
@@ -110,7 +110,7 @@ function runTests() {
test_util.getVolumeInfo(SECOND_FILE_SYSTEM_ID, function(volumeInfo) {
chrome.test.assertTrue(!!volumeInfo);
- chrome.fileBrowserPrivate.removeMount(volumeInfo.volumeId);
+ chrome.fileManagerPrivate.removeMount(volumeInfo.volumeId);
});
},
@@ -141,19 +141,19 @@ function runTests() {
chrome.test.assertTrue(unmountRequested);
// Remove the handlers and mark the test as succeeded.
- chrome.fileBrowserPrivate.removeMount(SECOND_FILE_SYSTEM_ID);
- chrome.fileBrowserPrivate.onMountCompleted.removeListener(
+ chrome.fileManagerPrivate.removeMount(SECOND_FILE_SYSTEM_ID);
+ chrome.fileManagerPrivate.onMountCompleted.removeListener(
onMountCompleted);
onTestSuccess();
};
chrome.fileSystemProvider.onUnmountRequested.addListener(
onUnmountRequested);
- chrome.fileBrowserPrivate.onMountCompleted.addListener(onMountCompleted);
+ chrome.fileManagerPrivate.onMountCompleted.addListener(onMountCompleted);
test_util.getVolumeInfo(SECOND_FILE_SYSTEM_ID, function(volumeInfo) {
chrome.test.assertTrue(!!volumeInfo);
- chrome.fileBrowserPrivate.removeMount(volumeInfo.volumeId);
+ chrome.fileManagerPrivate.removeMount(volumeInfo.volumeId);
});
}
]);

Powered by Google App Engine
This is Rietveld 408576698