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

Unified Diff: chrome/test/data/extensions/api_test/file_system/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
« no previous file with comments | « chrome/test/data/extensions/api_test/file_system/save_new_with_write/test_util.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/api_test/file_system/test_util.js
diff --git a/chrome/test/data/extensions/api_test/file_system/test_util.js b/chrome/test/data/extensions/api_test/file_system/test_util.js
index ecefc00ace8eab4080f8cb5546223a855b77bc26..a768b029fbdfbdd14813c457d1bb741f3f5993ca 100644
--- a/chrome/test/data/extensions/api_test/file_system/test_util.js
+++ b/chrome/test/data/extensions/api_test/file_system/test_util.js
@@ -9,7 +9,7 @@ function checkEntry(entry, expectedName, isNew, shouldBeWritable) {
chrome.test.assertEq(expectedName, entry.name);
// Test that we are writable (or not), as expected.
- chrome.fileSystem.isWritableFileEntry(entry, chrome.test.callbackPass(
+ chrome.fileSystem.isWritableEntry(entry, chrome.test.callbackPass(
function(isWritable) {
chrome.test.assertEq(isWritable, shouldBeWritable);
}));
@@ -36,7 +36,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();
« no previous file with comments | « chrome/test/data/extensions/api_test/file_system/save_new_with_write/test_util.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698