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

Unified Diff: chrome/test/data/extensions/api_test/file_browser/app_file_handler_multi/test.js

Issue 2297043002: Web expose FileSystemFileEntry, FileSystemDirectoryEntry and friends (Closed)
Patch Set: Rebased Created 4 years, 1 month 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_browser/app_file_handler_multi/test.js
diff --git a/chrome/test/data/extensions/api_test/file_browser/app_file_handler_multi/test.js b/chrome/test/data/extensions/api_test/file_browser/app_file_handler_multi/test.js
index ad0ea2bb1ec77021e2a5852fc5d9cf7fdf5cc90a..a9f33120d7dd2df5f30ece2da006b8064d7da23c 100644
--- a/chrome/test/data/extensions/api_test/file_browser/app_file_handler_multi/test.js
+++ b/chrome/test/data/extensions/api_test/file_browser/app_file_handler_multi/test.js
@@ -36,7 +36,8 @@ function getFileSystem(volumeType) {
* @param {FileSystem} filesystem File system.
* @param {string} name Name of the file.
* @param {Blob} contents Contents of the file.
- * @return {Promise} Promise to be fulfilled with FileEntry of the new file.
+ * @return {Promise} Promise to be fulfilled with FileSystemFileEntry of the new
+ * file.
*/
function prepareFile(filesystem, name, contents) {
return new Promise(function(fulfill, reject) {
@@ -56,8 +57,8 @@ function prepareFile(filesystem, name, contents) {
* @param {FileSystem} filesystem File system.
* @param {string} name Name of the directory.
* @param {Blob} contents Contents of the file.
- * @return {Promise} Promise to be fulfilled with DirectoryEntry of the new
- * directory.
+ * @return {Promise} Promise to be fulfilled with FileSystemDirectoryEntry of
+ * the new directory.
*/
function prepareDirectory(filesystem, name) {
return new Promise(function(fulfill, reject) {
@@ -71,8 +72,8 @@ function prepareDirectory(filesystem, name) {
* Prepares two test files on the file system.
* @param {FileSystem} filesystem File system.
* @return {Promise} Promise to be fullfilled with an object {filesystem:
- * FileSystem, entries: Array<FileEntry>} that contains the passed file
- * system and the created entries.
+ * FileSystem, entries: Array<FileSystemFileEntry>} that contains the passed
+ * file system and the created entries.
*/
function prepareFiles(filesystem) {
var testFileA =
@@ -88,8 +89,8 @@ function prepareFiles(filesystem) {
* Prepares two test directories on the file system.
* @param {FileSystem} filesystem File system.
* @return {Promise} Promise to be fullfilled with an object {filesystem:
- * FileSystem, entries: Array<DirectoryEntry>} that contains the passed file
- * system and the created entries.
+ * FileSystem, entries: Array<FileSystemDirectoryEntry>} that contains the
+ * passed file system and the created entries.
*/
function prepareDirectories(filesystem) {
var testDirA = prepareDirectory(filesystem, 'dir1');
@@ -146,7 +147,7 @@ function testPromise(promise) {
/**
* Calls the executeTask API with the entries and checks the launch data passed
* to onLaunched events.
- * @param {Array<Entry>} isolatedEntries Entries to be tested.
+ * @param {Array<FileSystemEntry>} isolatedEntries Entries to be tested.
* @return {Promise} Promise to be fulfilled on success.
*/
function launchWithEntries(isolatedEntries) {

Powered by Google App Engine
This is Rietveld 408576698