dom/webidl/FileSystemFileEntry.webidl
author Andrea Marchesini <amarchesini@mozilla.com>
Fri, 04 Nov 2016 14:23:46 +0100
changeset 320964 bee46857d60e9c531aa333aff3c504bc96588531
parent 320775 552ad078563f102d1479b9769ab37547ad94e714
child 436266 b417c2d937e8b0a4987e61b1d47efae4435a3fde
permissions -rw-r--r--
Bug 1315185 - Get rid of FileSystemFileEntry.createWriter, r=smaug

/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/.
 */

callback interface FileCallback {
    void handleEvent(File file);
};

interface FileSystemFileEntry : FileSystemEntry {
    [BinaryName="GetFile"]
    void file (FileCallback successCallback,
               optional ErrorCallback errorCallback);
};