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

Unified Diff: chrome/test/data/extensions/api_test/file_system_provider/configure/test.js

Issue 1142593002: Generalize volume configuration over all volumes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed the configure test. Created 5 years, 7 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/configure/test.js
diff --git a/chrome/test/data/extensions/api_test/file_system_provider/configure/test.js b/chrome/test/data/extensions/api_test/file_system_provider/configure/test.js
index 5518d907a140144edf41d12abbf3d9ca734a3526..4053d11dc189c8d1ab057464f847756ebe427fc0 100644
--- a/chrome/test/data/extensions/api_test/file_system_provider/configure/test.js
+++ b/chrome/test/data/extensions/api_test/file_system_provider/configure/test.js
@@ -41,11 +41,11 @@ function runTests() {
chrome.test.assertEq('device', extensions[0].source);
}));
- chrome.fileManagerPrivate.configureProvidedFileSystem(test_util.volumeId,
+ chrome.fileManagerPrivate.configureVolume(test_util.volumeId,
chrome.test.callbackPass(function() {}));
},
- // Verify that chrome.fileManager.configureProvidedFileSystem is well wired
+ // Verify that chrome.fileManager.configureVolume is well wired
// to onConfigureRequested().
function configureSuccess() {
var configured = false;
@@ -59,7 +59,7 @@ function runTests() {
chrome.fileSystemProvider.onConfigureRequested.addListener(
onConfigureRequested);
- chrome.fileManagerPrivate.configureProvidedFileSystem(test_util.volumeId,
+ chrome.fileManagerPrivate.configureVolume(test_util.volumeId,
chrome.test.callbackPass(function() {
chrome.test.assertTrue(configured);
}));
@@ -77,7 +77,7 @@ function runTests() {
chrome.fileSystemProvider.onConfigureRequested.addListener(
onConfigureRequested);
- chrome.fileManagerPrivate.configureProvidedFileSystem(test_util.volumeId,
+ chrome.fileManagerPrivate.configureVolume(test_util.volumeId,
chrome.test.callbackFail('Failed to complete configuration.'));
},
« no previous file with comments | « chrome/common/extensions/api/file_manager_private.idl ('k') | extensions/browser/extension_function_histogram_value.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698