2016-05-15 20:32:09 +03: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/. */
|
|
|
|
|
2017-03-14 14:28:58 +03:00
|
|
|
include protocol PChildToParentStream;
|
2017-03-14 14:29:43 +03:00
|
|
|
include protocol PParentToChildStream;
|
2017-04-24 13:09:39 +03:00
|
|
|
|
2016-05-18 01:01:25 +03:00
|
|
|
include BlobTypes;
|
2016-05-15 20:32:09 +03:00
|
|
|
include InputStreamParams;
|
2017-04-24 13:09:39 +03:00
|
|
|
include ProtocolTypes;
|
2016-05-15 20:32:09 +03:00
|
|
|
|
|
|
|
namespace mozilla {
|
|
|
|
namespace ipc {
|
|
|
|
|
2019-02-22 21:46:14 +03:00
|
|
|
// Use IPCStream in your ipdl to represent serialized nsIInputStreams. Then use
|
|
|
|
// AutoIPCStream from IPCStreamUtils.h to perform the serialization.
|
2019-01-28 12:49:13 +03:00
|
|
|
struct IPCStream
|
2016-05-15 20:32:09 +03:00
|
|
|
{
|
2019-01-28 12:49:13 +03:00
|
|
|
InputStreamParams stream;
|
|
|
|
OptionalFileDescriptorSet optionalFds;
|
2016-05-15 20:32:09 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace ipc
|
|
|
|
} // namespace mozilla
|