Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added extern for resolveLocalFileSystemURL() #3833

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions externs/browser/nonstandard_fileapi.js
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,27 @@ function resolveLocalFileSystemURI(uri, successCallback, errorCallback) {}
Window.prototype.resolveLocalFileSystemURI =
function(uri, successCallback, errorCallback) {}

/**
* @see https://developer.mozilla.org/en-US/docs/Web/API/LocalFileSystem
* @see https://cordova.apache.org/docs/en/10.x/reference/cordova-plugin-file/
* @param {string} url
* @param {function(!Entry)} successCallback
* @param {function(!FileError)=} errorCallback
* @return {undefined}
*/
function resolveLocalFileSystemURL(url, successCallback, errorCallback) {}

/**
* @see https://developer.mozilla.org/en-US/docs/Web/API/LocalFileSystem
* @see https://cordova.apache.org/docs/en/10.x/reference/cordova-plugin-file/
* @param {string} url
* @param {function(!Entry)} successCallback
* @param {function(!FileError)=} errorCallback
* @return {undefined}
*/
Window.prototype.resolveLocalFileSystemURL =
function(url, successCallback, errorCallback) {}

/**
* This has replaced requestFileSystem in Chrome since WebKit revision 84224.
* @see http://www.w3.org/TR/file-system-api/#widl-LocalFileSystem-requestFileSystem
Expand Down