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

Unified Diff: chrome/test/data/extensions/api_test/file_system/get_writable_file_entry_with_write/test_util.js

Issue 10914284: Rename chrome.fileSystem apis to be expandable to directories if we wish. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Typo Created 8 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/get_writable_file_entry_with_write/test_util.js
diff --git a/chrome/test/data/extensions/api_test/file_system/get_writable_file_entry_with_write/test_util.js b/chrome/test/data/extensions/api_test/file_system/get_writable_file_entry_with_write/test_util.js
index 479ef7fbd9d05423ef57bb770c4e5e39af1bb901..c4845b2f867e52a9a4c9e8805530495283853406 100644
--- a/chrome/test/data/extensions/api_test/file_system/get_writable_file_entry_with_write/test_util.js
+++ b/chrome/test/data/extensions/api_test/file_system/get_writable_file_entry_with_write/test_util.js
@@ -29,7 +29,7 @@ function checkEntry(entry, expectedName, isNew, shouldBeWritable) {
} else {
if (shouldBeWritable) {
// Get a new entry and check the data got to disk.
- chrome.fileSystem.chooseFile(chrome.test.callbackPass(
+ chrome.fileSystem.chooseEntry(chrome.test.callbackPass(
function(readEntry) {
readEntry.file(chrome.test.callback(function(readFile) {
var readReader = new FileReader();

Powered by Google App Engine
This is Rietveld 408576698