2012-08-02 06:02:29 +00: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;
|
2014-06-11 05:44:13 +00:00
|
|
|
include protocol PContentBridge;
|
2012-08-02 06:02:29 +00:00
|
|
|
|
2012-08-03 06:25:30 +00:00
|
|
|
include DOMTypes;
|
|
|
|
|
2012-08-02 06:02:29 +00:00
|
|
|
namespace mozilla {
|
|
|
|
namespace dom {
|
|
|
|
|
2012-08-03 06:25:30 +00:00
|
|
|
union ResolveMysteryParams
|
|
|
|
{
|
|
|
|
NormalBlobConstructorParams;
|
|
|
|
FileBlobConstructorParams;
|
|
|
|
};
|
|
|
|
|
2012-08-02 06:02:29 +00:00
|
|
|
protocol PBlob
|
|
|
|
{
|
2014-06-11 05:44:13 +00:00
|
|
|
manager PContent or PContentBridge;
|
2012-08-02 06:02:29 +00:00
|
|
|
manages PBlobStream;
|
|
|
|
|
|
|
|
both:
|
|
|
|
__delete__();
|
|
|
|
|
|
|
|
PBlobStream();
|
2012-08-03 06:25:30 +00:00
|
|
|
|
|
|
|
ResolveMystery(ResolveMysteryParams params);
|
2012-08-02 06:02:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace dom
|
|
|
|
} // namespace mozilla
|