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