зеркало из https://github.com/mozilla/gecko-dev.git
Bug 879475 - Move some blob constructor params to ipdlh headers r=jlebar
This commit is contained in:
Родитель
da4dc9068d
Коммит
de9c375135
|
@ -5,6 +5,7 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
include protocol PBlob;
|
||||
include InputStreamParams;
|
||||
|
||||
using mozilla::SerializedStructuredCloneBuffer;
|
||||
|
||||
|
@ -31,5 +32,38 @@ struct FileBlobConstructorParams
|
|||
uint64_t modDate;
|
||||
};
|
||||
|
||||
struct SlicedBlobConstructorParams
|
||||
{
|
||||
PBlob source;
|
||||
uint64_t begin;
|
||||
uint64_t end;
|
||||
nsString contentType;
|
||||
};
|
||||
|
||||
struct MysteryBlobConstructorParams
|
||||
{
|
||||
// Nothing is known about this type of blob.
|
||||
};
|
||||
|
||||
union ChildBlobConstructorParams
|
||||
{
|
||||
NormalBlobConstructorParams;
|
||||
FileBlobConstructorParams;
|
||||
SlicedBlobConstructorParams;
|
||||
MysteryBlobConstructorParams;
|
||||
};
|
||||
|
||||
struct ParentBlobConstructorParams
|
||||
{
|
||||
ChildBlobConstructorParams blobParams;
|
||||
OptionalInputStreamParams optionalInputStreamParams;
|
||||
};
|
||||
|
||||
union BlobConstructorParams
|
||||
{
|
||||
ChildBlobConstructorParams;
|
||||
ParentBlobConstructorParams;
|
||||
};
|
||||
|
||||
} // namespace dom
|
||||
} // namespace mozilla
|
||||
|
|
|
@ -46,6 +46,7 @@ using IPC::Principal;
|
|||
using mozilla::null_t;
|
||||
using mozilla::void_t;
|
||||
using mozilla::dom::AudioChannelType;
|
||||
using mozilla::dom::BlobConstructorParams;
|
||||
using mozilla::dom::NativeThreadId;
|
||||
using mozilla::hal::ProcessPriority;
|
||||
using gfxIntSize;
|
||||
|
@ -123,39 +124,6 @@ union DeviceStorageParams
|
|||
DeviceStorageAvailableParams;
|
||||
};
|
||||
|
||||
struct SlicedBlobConstructorParams
|
||||
{
|
||||
PBlob source;
|
||||
uint64_t begin;
|
||||
uint64_t end;
|
||||
nsString contentType;
|
||||
};
|
||||
|
||||
struct MysteryBlobConstructorParams
|
||||
{
|
||||
// Nothing is known about this type of blob.
|
||||
};
|
||||
|
||||
union ChildBlobConstructorParams
|
||||
{
|
||||
NormalBlobConstructorParams;
|
||||
FileBlobConstructorParams;
|
||||
SlicedBlobConstructorParams;
|
||||
MysteryBlobConstructorParams;
|
||||
};
|
||||
|
||||
struct ParentBlobConstructorParams
|
||||
{
|
||||
ChildBlobConstructorParams blobParams;
|
||||
OptionalInputStreamParams optionalInputStreamParams;
|
||||
};
|
||||
|
||||
union BlobConstructorParams
|
||||
{
|
||||
ChildBlobConstructorParams;
|
||||
ParentBlobConstructorParams;
|
||||
};
|
||||
|
||||
union PrefValue {
|
||||
nsCString;
|
||||
int32_t;
|
||||
|
|
Загрузка…
Ссылка в новой задаче