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

Unified Diff: chrome/test/data/extensions/api_test/file_browser/file_browser_handler_lazy/background.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/file_browser_handler_lazy/background.js
diff --git a/chrome/test/data/extensions/api_test/file_browser/file_browser_handler_lazy/background.js b/chrome/test/data/extensions/api_test/file_browser/file_browser_handler_lazy/background.js
index 4024c015bb4bd398a0c818ca6e3eae3053a9a598..383dba66658251bfe0c51cd304cb03a3123d8bf4 100644
--- a/chrome/test/data/extensions/api_test/file_browser/file_browser_handler_lazy/background.js
+++ b/chrome/test/data/extensions/api_test/file_browser/file_browser_handler_lazy/background.js
@@ -42,7 +42,7 @@ function assertEqAndRunCallback(expectedValue, value, errorMessage, callback) {
* as expected (|expectSuccess|, |expectedContent|). On success |callback| is
* called, otherwise current test is failed.
*
- * @param {FileEntry} entry Entry to be read.
+ * @param {FileSystemFileEntry} entry Entry to be read.
* @param {boolean} expectSuccess Whether the read should succeed.
* @param {string} expectedContent If the read succeeds, the expected content to
* be read from file. If the read fails, it is ignored.
@@ -68,7 +68,7 @@ function readAndExpectContent(entry, expectSuccess, expectedContent, callback) {
* operation success is as expected. On success |callback| is called, else the
* current test is failed.
*
- * @param {FileEntry} entry File entry to be read.
+ * @param {FileSystemFileEntry} entry File entry to be read.
* @param {string} content String content to be appended to the file.
* @param {boolean} expectSuccess Whether the write should succeed.
* @param {function()} callback Function called if write ends as defined by
@@ -94,7 +94,8 @@ function write(entry, content, expectSuccess, callback) {
/**
* Runs read test.
*
- * @params {FileEntry} entry File entry for which the test should be run.
+ * @params {FileSystemFileEntry} entry File entry for which the test should be
+ * run.
* @params {boolean} expectSuccess Whether the read should succeed.
*/
function readTest(entry, expectSuccess) {
@@ -122,7 +123,7 @@ function getSiblingTest(entry) {
* Attempts to write to the entry. If the write operation ends as expected, the
* test verifies new content of the file.
*
- * @param {FileEntry} entry Entry to be written.
+ * @param {FileSystemFileEntry} entry Entry to be written.
* @param {boolean} expectSuccess Whether the test should succeed.
*/
function writeTest(entry, expectSuccess) {

Powered by Google App Engine
This is Rietveld 408576698