2012-08-02 10:02:29 +04:00
|
|
|
/* 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;
|
|
|
|
|
2012-08-03 10:25:30 +04:00
|
|
|
include DOMTypes;
|
|
|
|
|
2012-08-02 10:02:29 +04:00
|
|
|
namespace mozilla {
|
|
|
|
namespace dom {
|
|
|
|
|
2012-08-03 10:25:30 +04:00
|
|
|
union ResolveMysteryParams
|
|
|
|
{
|
|
|
|
NormalBlobConstructorParams;
|
|
|
|
FileBlobConstructorParams;
|
|
|
|
};
|
|
|
|
|
2012-08-02 10:02:29 +04:00
|
|
|
protocol PBlob
|
|
|
|
{
|
|
|
|
manager PContent;
|
|
|
|
manages PBlobStream;
|
|
|
|
|
|
|
|
both:
|
|
|
|
__delete__();
|
|
|
|
|
|
|
|
PBlobStream();
|
2012-08-03 10:25:30 +04:00
|
|
|
|
|
|
|
ResolveMystery(ResolveMysteryParams params);
|
2012-08-02 10:02:29 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace dom
|
|
|
|
} // namespace mozilla
|