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

Unified Diff: chrome/test/data/extensions/api_test/file_browser/handler_test_runner/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/handler_test_runner/test.js
diff --git a/chrome/test/data/extensions/api_test/file_browser/handler_test_runner/test.js b/chrome/test/data/extensions/api_test/file_browser/handler_test_runner/test.js
index 514aeff4d82d7c312ff2b23a29bf531a0e4e910c..46bb1bcb8d22167d33b5689a647dc4c551e0b4a8 100644
--- a/chrome/test/data/extensions/api_test/file_browser/handler_test_runner/test.js
+++ b/chrome/test/data/extensions/api_test/file_browser/handler_test_runner/test.js
@@ -32,10 +32,10 @@ var kTestPaths = ['test_dir/test_file.xul', 'test_dir/test_file.tiff'];
// Starts the test extension.
function run() {
/**
- * Test cases after the file path has been resolved to FileEntry. Each
- * resolved test case contains the resolved FileEntry object.
+ * Test cases after the file path has been resolved to FileSystemFileEntry.
+ * Each resolved test case contains the resolved FileSystemFileEntry object.
*
- * @type {!Array<!FileEntry>}
+ * @type {!Array<!FileSystemFileEntry>}
*/
var resolvedEntries = [];
@@ -43,7 +43,7 @@ function run() {
* List of tasks found for a testCase. Each object contains the found task id
* and entry for which the task should be executed.
*
- * @type {!Array<!Object<string, !Entry>>}
+ * @type {!Array<!Object<string, !FileSystemEntry>>}
*/
var foundTasks = [];
@@ -73,7 +73,8 @@ function run() {
* Callback to chrome.fileManagerPrivate.executeTask. Verifies the function
* succeeded.
*
- * @param {!Entry} entry The entry of file for which the handler was executed.
+ * @param {!FileSystemEntry} entry The entry of file for which the handler was
+ * executed.
* @param {boolean} success Whether the function succeeded.
*/
function onExecuteTask(entry, success) {
@@ -120,7 +121,8 @@ function run() {
* It remembers the returned task id and entry. When tasks for all test cases
* are found, they are executed.
*
- * @param {!Entry} entry File entry for which getFileTasks was called.
+ * @param {!FileSystemEntry} entry File entry for which getFileTasks was
+ * called.
* @param {Array<Object>} tasks List of found task objects.
*/
function onGotTasks(entry, tasks) {
@@ -152,7 +154,8 @@ function run() {
* when all the test cases have been resolved, gets file tasks for each of
* them.
*
- * @param {FileEntry} isolatedEntry The file entry for the test case.
+ * @param {FileSystemFileEntry} isolatedEntry The file entry for the test
+ * case.
*/
function onGotEntry(isolatedEntry) {
// TODO(mtomasz): Remove this hack after migrating chrome.fileManagerPrivate
@@ -175,7 +178,7 @@ function run() {
* Called when the test mount point has been determined. It starts resolving
* test cases (i.e. getting file entries for the test file paths).
*
- * @param {DOMFileSystem} fileSystem The testing volume.
+ * @param {FileSystem} fileSystem The testing volume.
* @param {string} volumeType Type of the volume.
*/
function onGotFileSystem(fileSystem, volumeType) {

Powered by Google App Engine
This is Rietveld 408576698