Bug 1858509 add thread-safety annotations around MediaSourceDemuxer::mMonitor r=alwu
[gecko.git] / ipc / glue / URIParams.ipdlh
blob99b18afd0fcca9388c18edb765f4d29885913a01
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/. */
6 using struct mozilla::void_t from "mozilla/ipc/IPCCore.h";
8 include PBackgroundSharedTypes;
10 namespace mozilla {
11 namespace ipc {
13 struct SimpleURIParams
15   nsCString scheme;
16   nsCString path;
17   nsCString ref;
18   nsCString query;
21 struct DefaultURIParams
23   nsCString spec;
26 struct StandardURLSegment
28   uint32_t position;
29   int32_t length;
32 struct StandardURLParams
34   uint32_t urlType;
35   int32_t port;
36   int32_t defaultPort;
37   nsCString spec;
38   StandardURLSegment scheme;
39   StandardURLSegment authority;
40   StandardURLSegment username;
41   StandardURLSegment password;
42   StandardURLSegment host;
43   StandardURLSegment path;
44   StandardURLSegment filePath;
45   StandardURLSegment directory;
46   StandardURLSegment baseName;
47   StandardURLSegment extension;
48   StandardURLSegment query;
49   StandardURLSegment ref;
50   bool supportsFileURL;
51   bool isSubstituting;
54 struct JARURIParams
56   URIParams jarFile;
57   URIParams jarEntry;
58   nsCString charset;
61 struct IconURIParams
63   URIParams? uri;
64   uint32_t size;
65   nsCString contentType;
66   nsCString fileName;
67   nsCString stockIcon;
68   int32_t iconSize;
69   int32_t iconState;
72 struct HostObjectURIParams
74   SimpleURIParams simpleParams;
75   bool revoked;
78 union URIParams
80   SimpleURIParams;
81   StandardURLParams;
82   JARURIParams;
83   IconURIParams;
84   JSURIParams;
85   SimpleNestedURIParams;
86   HostObjectURIParams;
87   DefaultURIParams;
88   NestedAboutURIParams;
89   SubstitutingJARURIParams;
92 struct JSURIParams
94   SimpleURIParams simpleParams;
95   URIParams? baseURI;
98 struct SimpleNestedURIParams
100   SimpleURIParams simpleParams;
101   URIParams innerURI;
104 struct NestedAboutURIParams
106   SimpleNestedURIParams nestedParams;
107   URIParams? baseURI;
110 struct SubstitutingJARURIParams
112   URIParams source;
113   JARURIParams resolved;
116 } // namespace ipc
117 } // namespace mozilla