gecko/dom/ipc/PBlob.ipdl

36 lines
673 B
Plaintext

/* 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/. */
include protocol PBlobStream;
include protocol PContent;
include DOMTypes;
namespace mozilla {
namespace dom {
union ResolveMysteryParams
{
NormalBlobConstructorParams;
FileBlobConstructorParams;
};
protocol PBlob
{
manager PContent or PBlob;
manages PBlobStream;
manages PBlob;
both:
__delete__();
PBlob(BlobConstructorParams params);
PBlobStream();
ResolveMystery(ResolveMysteryParams params);
};
} // namespace dom
} // namespace mozilla