1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 include IPCQuotaObject;
10 // Use RandomAccessStreamParams in your ipdl to represent serialized
11 // nsIRandomAccessStreams. Then use SerializeRandomAccessStream from
12 // RandomAccessStreamUtils.h to perform the serialization.
13 struct FileRandomAccessStreamParams
15 FileDescriptor fileDescriptor;
16 int32_t behaviorFlags;
19 struct LimitingFileRandomAccessStreamParams
21 FileRandomAccessStreamParams fileRandomAccessStreamParams;
22 IPCQuotaObject quotaObject;
25 union RandomAccessStreamParams
27 FileRandomAccessStreamParams;
28 LimitingFileRandomAccessStreamParams;
32 } // namespace mozilla