/work/obj-fuzz/ipc/ipdl/PContent.cpp
Line | Count | Source (jump to first uncovered line) |
1 | | // |
2 | | // Automatically generated by ipdlc. |
3 | | // Edit at your own risk |
4 | | // |
5 | | |
6 | | |
7 | | #include "mozilla/dom/PContentBridgeParent.h" |
8 | | #include "mozilla/ipc/PBackgroundParent.h" |
9 | | #include "mozilla/ipc/PBackgroundChild.h" |
10 | | #include "mozilla/dom/PBrowserParent.h" |
11 | | #include "mozilla/dom/PBrowserChild.h" |
12 | | #include "mozilla/dom/PClientOpenWindowOpParent.h" |
13 | | #include "mozilla/dom/PClientOpenWindowOpChild.h" |
14 | | #include "mozilla/layers/PCompositorManagerParent.h" |
15 | | #include "mozilla/layers/PCompositorManagerChild.h" |
16 | | #include "mozilla/dom/PContentBridgeParent.h" |
17 | | #include "mozilla/dom/PContentBridgeChild.h" |
18 | | #include "mozilla/dom/PContentPermissionRequestParent.h" |
19 | | #include "mozilla/dom/PContentPermissionRequestChild.h" |
20 | | #include "mozilla/dom/PCycleCollectWithLogsParent.h" |
21 | | #include "mozilla/dom/PCycleCollectWithLogsChild.h" |
22 | | #include "mozilla/psm/PPSMContentDownloaderParent.h" |
23 | | #include "mozilla/psm/PPSMContentDownloaderChild.h" |
24 | | #include "mozilla/dom/PExternalHelperAppParent.h" |
25 | | #include "mozilla/dom/PExternalHelperAppChild.h" |
26 | | #include "mozilla/dom/PHandlerServiceParent.h" |
27 | | #include "mozilla/dom/PHandlerServiceChild.h" |
28 | | #include "mozilla/ipc/PFileDescriptorSetParent.h" |
29 | | #include "mozilla/ipc/PFileDescriptorSetChild.h" |
30 | | #include "mozilla/hal_sandbox/PHalParent.h" |
31 | | #include "mozilla/hal_sandbox/PHalChild.h" |
32 | | #include "mozilla/devtools/PHeapSnapshotTempFileHelperParent.h" |
33 | | #include "mozilla/devtools/PHeapSnapshotTempFileHelperChild.h" |
34 | | #include "mozilla/PProcessHangMonitorParent.h" |
35 | | #include "mozilla/PProcessHangMonitorChild.h" |
36 | | #include "mozilla/layers/PImageBridgeParent.h" |
37 | | #include "mozilla/layers/PImageBridgeChild.h" |
38 | | #include "mozilla/ipc/PIPCBlobInputStreamParent.h" |
39 | | #include "mozilla/ipc/PIPCBlobInputStreamChild.h" |
40 | | #include "mozilla/dom/PLoginReputationParent.h" |
41 | | #include "mozilla/dom/PLoginReputationChild.h" |
42 | | #include "mozilla/media/PMediaParent.h" |
43 | | #include "mozilla/media/PMediaChild.h" |
44 | | #include "mozilla/net/PNeckoParent.h" |
45 | | #include "mozilla/net/PNeckoChild.h" |
46 | | #include "mozilla/extensions/PStreamFilterParent.h" |
47 | | #include "mozilla/extensions/PStreamFilterChild.h" |
48 | | #include "mozilla/gmp/PGMPContentParent.h" |
49 | | #include "mozilla/gmp/PGMPContentChild.h" |
50 | | #include "mozilla/gmp/PGMPServiceParent.h" |
51 | | #include "mozilla/gmp/PGMPServiceChild.h" |
52 | | #include "mozilla/plugins/PPluginModuleParent.h" |
53 | | #include "mozilla/plugins/PPluginModuleChild.h" |
54 | | #include "mozilla/gmp/PGMPParent.h" |
55 | | #include "mozilla/gmp/PGMPChild.h" |
56 | | #include "mozilla/embedding/PPrintingParent.h" |
57 | | #include "mozilla/embedding/PPrintingChild.h" |
58 | | #include "mozilla/ipc/PChildToParentStreamParent.h" |
59 | | #include "mozilla/ipc/PChildToParentStreamChild.h" |
60 | | #include "mozilla/ipc/PParentToChildStreamParent.h" |
61 | | #include "mozilla/ipc/PParentToChildStreamChild.h" |
62 | | #include "mozilla/docshell/POfflineCacheUpdateParent.h" |
63 | | #include "mozilla/docshell/POfflineCacheUpdateChild.h" |
64 | | #include "mozilla/layout/PRenderFrameParent.h" |
65 | | #include "mozilla/layout/PRenderFrameChild.h" |
66 | | #include "mozilla/dom/PSpeechSynthesisParent.h" |
67 | | #include "mozilla/dom/PSpeechSynthesisChild.h" |
68 | | #include "mozilla/ipc/PTestShellParent.h" |
69 | | #include "mozilla/ipc/PTestShellChild.h" |
70 | | #include "mozilla/jsipc/PJavaScriptParent.h" |
71 | | #include "mozilla/jsipc/PJavaScriptChild.h" |
72 | | #include "mozilla/PRemoteSpellcheckEngineParent.h" |
73 | | #include "mozilla/PRemoteSpellcheckEngineChild.h" |
74 | | #include "mozilla/PWebBrowserPersistDocumentParent.h" |
75 | | #include "mozilla/PWebBrowserPersistDocumentChild.h" |
76 | | #include "mozilla/dom/PWebrtcGlobalParent.h" |
77 | | #include "mozilla/dom/PWebrtcGlobalChild.h" |
78 | | #include "mozilla/dom/PPresentationParent.h" |
79 | | #include "mozilla/dom/PPresentationChild.h" |
80 | | #include "mozilla/dom/PURLClassifierParent.h" |
81 | | #include "mozilla/dom/PURLClassifierChild.h" |
82 | | #include "mozilla/dom/PURLClassifierLocalParent.h" |
83 | | #include "mozilla/dom/PURLClassifierLocalChild.h" |
84 | | #include "mozilla/gfx/PVRManagerParent.h" |
85 | | #include "mozilla/gfx/PVRManagerChild.h" |
86 | | #include "mozilla/dom/PVideoDecoderManagerParent.h" |
87 | | #include "mozilla/dom/PVideoDecoderManagerChild.h" |
88 | | #include "mozilla/PProfilerParent.h" |
89 | | #include "mozilla/PProfilerChild.h" |
90 | | #include "mozilla/loader/PScriptCacheParent.h" |
91 | | #include "mozilla/loader/PScriptCacheChild.h" |
92 | | #include "mozilla/dom/PContent.h" |
93 | | |
94 | | namespace mozilla { |
95 | | namespace dom { |
96 | | namespace PContent { |
97 | | |
98 | | nsresult |
99 | | CreateEndpoints( |
100 | | base::ProcessId aParentDestPid, |
101 | | base::ProcessId aChildDestPid, |
102 | | mozilla::ipc::Endpoint<mozilla::dom::PContentParent>* aParent, |
103 | | mozilla::ipc::Endpoint<mozilla::dom::PContentChild>* aChild) |
104 | 0 | { |
105 | 0 | return mozilla::ipc::CreateEndpoints(mozilla::ipc::PrivateIPDLInterface(), aParentDestPid, aChildDestPid, aParent, aChild); |
106 | 0 | } |
107 | | IPC::Message* |
108 | | Msg_PBrowserConstructor(int32_t routingId) |
109 | 0 | { |
110 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_PBrowserConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
111 | 0 | } |
112 | | IPC::Message* |
113 | | Reply_PBrowserConstructor(int32_t routingId) |
114 | 0 | { |
115 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_PBrowserConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
116 | 0 | } |
117 | | IPC::Message* |
118 | | Msg_PFileDescriptorSetConstructor(int32_t routingId) |
119 | 0 | { |
120 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_PFileDescriptorSetConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
121 | 0 | } |
122 | | IPC::Message* |
123 | | Reply_PFileDescriptorSetConstructor(int32_t routingId) |
124 | 0 | { |
125 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_PFileDescriptorSetConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
126 | 0 | } |
127 | | IPC::Message* |
128 | | Msg_PWebBrowserPersistDocumentConstructor(int32_t routingId) |
129 | 0 | { |
130 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_PWebBrowserPersistDocumentConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
131 | 0 | } |
132 | | IPC::Message* |
133 | | Reply_PWebBrowserPersistDocumentConstructor(int32_t routingId) |
134 | 0 | { |
135 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_PWebBrowserPersistDocumentConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
136 | 0 | } |
137 | | IPC::Message* |
138 | | Msg_InitGMPService(int32_t routingId) |
139 | 0 | { |
140 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_InitGMPService__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
141 | 0 | } |
142 | | IPC::Message* |
143 | | Msg_InitProcessHangMonitor(int32_t routingId) |
144 | 0 | { |
145 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_InitProcessHangMonitor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
146 | 0 | } |
147 | | IPC::Message* |
148 | | Msg_InitContentBridgeChild(int32_t routingId) |
149 | 0 | { |
150 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_InitContentBridgeChild__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
151 | 0 | } |
152 | | IPC::Message* |
153 | | Msg_InitProfiler(int32_t routingId) |
154 | 0 | { |
155 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_InitProfiler__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
156 | 0 | } |
157 | | IPC::Message* |
158 | | Msg_InitRendering(int32_t routingId) |
159 | 0 | { |
160 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_InitRendering__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
161 | 0 | } |
162 | | IPC::Message* |
163 | | Msg_ReinitRendering(int32_t routingId) |
164 | 0 | { |
165 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_ReinitRendering__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
166 | 0 | } |
167 | | IPC::Message* |
168 | | Msg_AudioDefaultDeviceChange(int32_t routingId) |
169 | 0 | { |
170 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_AudioDefaultDeviceChange__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
171 | 0 | } |
172 | | IPC::Message* |
173 | | Msg_ReinitRenderingForDeviceReset(int32_t routingId) |
174 | 0 | { |
175 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_ReinitRenderingForDeviceReset__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
176 | 0 | } |
177 | | IPC::Message* |
178 | | Msg_SetProcessSandbox(int32_t routingId) |
179 | 0 | { |
180 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_SetProcessSandbox__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
181 | 0 | } |
182 | | IPC::Message* |
183 | | Msg_RequestMemoryReport(int32_t routingId) |
184 | 0 | { |
185 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_RequestMemoryReport__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
186 | 0 | } |
187 | | IPC::Message* |
188 | | Msg_RequestPerformanceMetrics(int32_t routingId) |
189 | 0 | { |
190 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_RequestPerformanceMetrics__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
191 | 0 | } |
192 | | IPC::Message* |
193 | | Msg_BidiKeyboardNotify(int32_t routingId) |
194 | 0 | { |
195 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_BidiKeyboardNotify__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
196 | 0 | } |
197 | | IPC::Message* |
198 | | Msg_PCycleCollectWithLogsConstructor(int32_t routingId) |
199 | 0 | { |
200 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_PCycleCollectWithLogsConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
201 | 0 | } |
202 | | IPC::Message* |
203 | | Reply_PCycleCollectWithLogsConstructor(int32_t routingId) |
204 | 0 | { |
205 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_PCycleCollectWithLogsConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
206 | 0 | } |
207 | | IPC::Message* |
208 | | Msg_PTestShellConstructor(int32_t routingId) |
209 | 0 | { |
210 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_PTestShellConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
211 | 0 | } |
212 | | IPC::Message* |
213 | | Reply_PTestShellConstructor(int32_t routingId) |
214 | 0 | { |
215 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_PTestShellConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
216 | 0 | } |
217 | | IPC::Message* |
218 | | Msg_PScriptCacheConstructor(int32_t routingId) |
219 | 0 | { |
220 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_PScriptCacheConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
221 | 0 | } |
222 | | IPC::Message* |
223 | | Reply_PScriptCacheConstructor(int32_t routingId) |
224 | 0 | { |
225 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_PScriptCacheConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
226 | 0 | } |
227 | | IPC::Message* |
228 | | Msg_RegisterChrome(int32_t routingId) |
229 | 0 | { |
230 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_RegisterChrome__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
231 | 0 | } |
232 | | IPC::Message* |
233 | | Msg_RegisterChromeItem(int32_t routingId) |
234 | 0 | { |
235 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_RegisterChromeItem__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
236 | 0 | } |
237 | | IPC::Message* |
238 | | Msg_ClearImageCache(int32_t routingId) |
239 | 0 | { |
240 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_ClearImageCache__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
241 | 0 | } |
242 | | IPC::Message* |
243 | | Msg_SetOffline(int32_t routingId) |
244 | 0 | { |
245 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_SetOffline__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
246 | 0 | } |
247 | | IPC::Message* |
248 | | Msg_SetConnectivity(int32_t routingId) |
249 | 0 | { |
250 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_SetConnectivity__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
251 | 0 | } |
252 | | IPC::Message* |
253 | | Msg_SetCaptivePortalState(int32_t routingId) |
254 | 0 | { |
255 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_SetCaptivePortalState__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
256 | 0 | } |
257 | | IPC::Message* |
258 | | Msg_NotifyVisited(int32_t routingId) |
259 | 0 | { |
260 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_NotifyVisited__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
261 | 0 | } |
262 | | IPC::Message* |
263 | | Msg_PreferenceUpdate(int32_t routingId) |
264 | 0 | { |
265 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_PreferenceUpdate__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
266 | 0 | } |
267 | | IPC::Message* |
268 | | Msg_VarUpdate(int32_t routingId) |
269 | 0 | { |
270 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_VarUpdate__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
271 | 0 | } |
272 | | IPC::Message* |
273 | | Msg_DataStoragePut(int32_t routingId) |
274 | 0 | { |
275 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_DataStoragePut__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
276 | 0 | } |
277 | | IPC::Message* |
278 | | Msg_DataStorageRemove(int32_t routingId) |
279 | 0 | { |
280 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_DataStorageRemove__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
281 | 0 | } |
282 | | IPC::Message* |
283 | | Msg_DataStorageClear(int32_t routingId) |
284 | 0 | { |
285 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_DataStorageClear__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
286 | 0 | } |
287 | | IPC::Message* |
288 | | Msg_NotifyAlertsObserver(int32_t routingId) |
289 | 0 | { |
290 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_NotifyAlertsObserver__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
291 | 0 | } |
292 | | IPC::Message* |
293 | | Msg_GeolocationUpdate(int32_t routingId) |
294 | 0 | { |
295 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_GeolocationUpdate__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
296 | 0 | } |
297 | | IPC::Message* |
298 | | Msg_GeolocationError(int32_t routingId) |
299 | 0 | { |
300 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_GeolocationError__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
301 | 0 | } |
302 | | IPC::Message* |
303 | | Msg_UpdateDictionaryList(int32_t routingId) |
304 | 0 | { |
305 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_UpdateDictionaryList__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
306 | 0 | } |
307 | | IPC::Message* |
308 | | Msg_UpdateFontList(int32_t routingId) |
309 | 0 | { |
310 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_UpdateFontList__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
311 | 0 | } |
312 | | IPC::Message* |
313 | | Msg_UpdateAppLocales(int32_t routingId) |
314 | 0 | { |
315 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_UpdateAppLocales__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
316 | 0 | } |
317 | | IPC::Message* |
318 | | Msg_UpdateRequestedLocales(int32_t routingId) |
319 | 0 | { |
320 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_UpdateRequestedLocales__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
321 | 0 | } |
322 | | IPC::Message* |
323 | | Msg_ClearSiteDataReloadNeeded(int32_t routingId) |
324 | 0 | { |
325 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_ClearSiteDataReloadNeeded__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
326 | 0 | } |
327 | | IPC::Message* |
328 | | Msg_RegisterStringBundles(int32_t routingId) |
329 | 0 | { |
330 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_RegisterStringBundles__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
331 | 0 | } |
332 | | IPC::Message* |
333 | | Msg_UpdateSharedData(int32_t routingId) |
334 | 0 | { |
335 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_UpdateSharedData__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
336 | 0 | } |
337 | | IPC::Message* |
338 | | Msg_AddPermission(int32_t routingId) |
339 | 0 | { |
340 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_AddPermission__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
341 | 0 | } |
342 | | IPC::Message* |
343 | | Msg_RemoveAllPermissions(int32_t routingId) |
344 | 0 | { |
345 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_RemoveAllPermissions__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
346 | 0 | } |
347 | | IPC::Message* |
348 | | Msg_FlushMemory(int32_t routingId) |
349 | 0 | { |
350 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_FlushMemory__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
351 | 0 | } |
352 | | IPC::Message* |
353 | | Msg_GarbageCollect(int32_t routingId) |
354 | 0 | { |
355 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_GarbageCollect__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
356 | 0 | } |
357 | | IPC::Message* |
358 | | Msg_CycleCollect(int32_t routingId) |
359 | 0 | { |
360 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_CycleCollect__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
361 | 0 | } |
362 | | IPC::Message* |
363 | | Msg_UnlinkGhosts(int32_t routingId) |
364 | 0 | { |
365 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_UnlinkGhosts__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
366 | 0 | } |
367 | | IPC::Message* |
368 | | Msg_ActivateA11y(int32_t routingId) |
369 | 0 | { |
370 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_ActivateA11y__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
371 | 0 | } |
372 | | IPC::Message* |
373 | | Msg_ShutdownA11y(int32_t routingId) |
374 | 0 | { |
375 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_ShutdownA11y__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
376 | 0 | } |
377 | | IPC::Message* |
378 | | Msg_AppInfo(int32_t routingId) |
379 | 0 | { |
380 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_AppInfo__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
381 | 0 | } |
382 | | IPC::Message* |
383 | | Msg_RemoteType(int32_t routingId) |
384 | 0 | { |
385 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_RemoteType__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
386 | 0 | } |
387 | | IPC::Message* |
388 | | Msg_InitServiceWorkers(int32_t routingId) |
389 | 0 | { |
390 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_InitServiceWorkers__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
391 | 0 | } |
392 | | IPC::Message* |
393 | | Msg_InitBlobURLs(int32_t routingId) |
394 | 0 | { |
395 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_InitBlobURLs__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
396 | 0 | } |
397 | | IPC::Message* |
398 | | Msg_SetXPCOMProcessAttributes(int32_t routingId) |
399 | 0 | { |
400 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_SetXPCOMProcessAttributes__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
401 | 0 | } |
402 | | IPC::Message* |
403 | | Msg_LastPrivateDocShellDestroyed(int32_t routingId) |
404 | 0 | { |
405 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_LastPrivateDocShellDestroyed__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
406 | 0 | } |
407 | | IPC::Message* |
408 | | Msg_NotifyProcessPriorityChanged(int32_t routingId) |
409 | 0 | { |
410 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_NotifyProcessPriorityChanged__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
411 | 0 | } |
412 | | IPC::Message* |
413 | | Msg_MinimizeMemoryUsage(int32_t routingId) |
414 | 0 | { |
415 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_MinimizeMemoryUsage__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
416 | 0 | } |
417 | | IPC::Message* |
418 | | Msg_LoadAndRegisterSheet(int32_t routingId) |
419 | 0 | { |
420 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_LoadAndRegisterSheet__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
421 | 0 | } |
422 | | IPC::Message* |
423 | | Msg_UnregisterSheet(int32_t routingId) |
424 | 0 | { |
425 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_UnregisterSheet__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
426 | 0 | } |
427 | | IPC::Message* |
428 | | Msg_NotifyIdleObserver(int32_t routingId) |
429 | 0 | { |
430 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_NotifyIdleObserver__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
431 | 0 | } |
432 | | IPC::Message* |
433 | | Msg_InvokeDragSession(int32_t routingId) |
434 | 0 | { |
435 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_InvokeDragSession__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
436 | 0 | } |
437 | | IPC::Message* |
438 | | Msg_EndDragSession(int32_t routingId) |
439 | 0 | { |
440 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_EndDragSession__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
441 | 0 | } |
442 | | IPC::Message* |
443 | | Msg_DomainSetChanged(int32_t routingId) |
444 | 0 | { |
445 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_DomainSetChanged__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
446 | 0 | } |
447 | | IPC::Message* |
448 | | Msg_Shutdown(int32_t routingId) |
449 | 0 | { |
450 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_Shutdown__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
451 | 0 | } |
452 | | IPC::Message* |
453 | | Msg_LoadProcessScript(int32_t routingId) |
454 | 0 | { |
455 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_LoadProcessScript__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
456 | 0 | } |
457 | | IPC::Message* |
458 | | Msg_UpdateWindow(int32_t routingId) |
459 | 0 | { |
460 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_UpdateWindow__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
461 | 0 | } |
462 | | IPC::Message* |
463 | | Msg_NotifyPresentationReceiverLaunched(int32_t routingId) |
464 | 0 | { |
465 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_NotifyPresentationReceiverLaunched__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
466 | 0 | } |
467 | | IPC::Message* |
468 | | Msg_NotifyPresentationReceiverCleanUp(int32_t routingId) |
469 | 0 | { |
470 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_NotifyPresentationReceiverCleanUp__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
471 | 0 | } |
472 | | IPC::Message* |
473 | | Msg_NotifyEmptyHTTPCache(int32_t routingId) |
474 | 0 | { |
475 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_NotifyEmptyHTTPCache__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
476 | 0 | } |
477 | | IPC::Message* |
478 | | Msg_Push(int32_t routingId) |
479 | 0 | { |
480 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_Push__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
481 | 0 | } |
482 | | IPC::Message* |
483 | | Msg_PushWithData(int32_t routingId) |
484 | 0 | { |
485 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_PushWithData__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
486 | 0 | } |
487 | | IPC::Message* |
488 | | Msg_PushSubscriptionChange(int32_t routingId) |
489 | 0 | { |
490 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_PushSubscriptionChange__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
491 | 0 | } |
492 | | IPC::Message* |
493 | | Msg_PushError(int32_t routingId) |
494 | 0 | { |
495 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_PushError__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
496 | 0 | } |
497 | | IPC::Message* |
498 | | Msg_SetAudioSessionData(int32_t routingId) |
499 | 0 | { |
500 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_SetAudioSessionData__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
501 | 0 | } |
502 | | IPC::Message* |
503 | | Msg_GetFilesResponse(int32_t routingId) |
504 | 0 | { |
505 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_GetFilesResponse__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
506 | 0 | } |
507 | | IPC::Message* |
508 | | Msg_BlobURLRegistration(int32_t routingId) |
509 | 0 | { |
510 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_BlobURLRegistration__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
511 | 0 | } |
512 | | IPC::Message* |
513 | | Msg_BlobURLUnregistration(int32_t routingId) |
514 | 0 | { |
515 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_BlobURLUnregistration__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
516 | 0 | } |
517 | | IPC::Message* |
518 | | Msg_GMPsChanged(int32_t routingId) |
519 | 0 | { |
520 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_GMPsChanged__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
521 | 0 | } |
522 | | IPC::Message* |
523 | | Msg_FileCreationResponse(int32_t routingId) |
524 | 0 | { |
525 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_FileCreationResponse__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
526 | 0 | } |
527 | | IPC::Message* |
528 | | Msg_Activate(int32_t routingId) |
529 | 0 | { |
530 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_Activate__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
531 | 0 | } |
532 | | IPC::Message* |
533 | | Msg_Deactivate(int32_t routingId) |
534 | 0 | { |
535 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_Deactivate__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
536 | 0 | } |
537 | | IPC::Message* |
538 | | Msg_PParentToChildStreamConstructor(int32_t routingId) |
539 | 0 | { |
540 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_PParentToChildStreamConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
541 | 0 | } |
542 | | IPC::Message* |
543 | | Reply_PParentToChildStreamConstructor(int32_t routingId) |
544 | 0 | { |
545 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_PParentToChildStreamConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
546 | 0 | } |
547 | | IPC::Message* |
548 | | Msg_ProvideAnonymousTemporaryFile(int32_t routingId) |
549 | 0 | { |
550 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_ProvideAnonymousTemporaryFile__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
551 | 0 | } |
552 | | IPC::Message* |
553 | | Msg_SetPermissionsWithKey(int32_t routingId) |
554 | 0 | { |
555 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_SetPermissionsWithKey__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
556 | 0 | } |
557 | | IPC::Message* |
558 | | Msg_RefreshScreens(int32_t routingId) |
559 | 0 | { |
560 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_RefreshScreens__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
561 | 0 | } |
562 | | IPC::Message* |
563 | | Msg_PIPCBlobInputStreamConstructor(int32_t routingId) |
564 | 0 | { |
565 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_PIPCBlobInputStreamConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
566 | 0 | } |
567 | | IPC::Message* |
568 | | Reply_PIPCBlobInputStreamConstructor(int32_t routingId) |
569 | 0 | { |
570 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_PIPCBlobInputStreamConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
571 | 0 | } |
572 | | IPC::Message* |
573 | | Msg_SetPluginList(int32_t routingId) |
574 | 0 | { |
575 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_SetPluginList__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
576 | 0 | } |
577 | | IPC::Message* |
578 | | Msg_ShareCodeCoverageMutex(int32_t routingId) |
579 | 0 | { |
580 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_ShareCodeCoverageMutex__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
581 | 0 | } |
582 | | IPC::Message* |
583 | | Msg_DumpCodeCoverageCounters(int32_t routingId) |
584 | 0 | { |
585 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_DumpCodeCoverageCounters__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
586 | 0 | } |
587 | | IPC::Message* |
588 | | Reply_DumpCodeCoverageCounters(int32_t routingId) |
589 | 0 | { |
590 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_DumpCodeCoverageCounters__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
591 | 0 | } |
592 | | IPC::Message* |
593 | | Msg_ResetCodeCoverageCounters(int32_t routingId) |
594 | 0 | { |
595 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_ResetCodeCoverageCounters__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
596 | 0 | } |
597 | | IPC::Message* |
598 | | Reply_ResetCodeCoverageCounters(int32_t routingId) |
599 | 0 | { |
600 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_ResetCodeCoverageCounters__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
601 | 0 | } |
602 | | IPC::Message* |
603 | | Msg_SetInputEventQueueEnabled(int32_t routingId) |
604 | 0 | { |
605 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_SetInputEventQueueEnabled__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
606 | 0 | } |
607 | | IPC::Message* |
608 | | Msg_FlushInputEventQueue(int32_t routingId) |
609 | 0 | { |
610 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_FlushInputEventQueue__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
611 | 0 | } |
612 | | IPC::Message* |
613 | | Msg_ResumeInputEventQueue(int32_t routingId) |
614 | 0 | { |
615 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_ResumeInputEventQueue__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
616 | 0 | } |
617 | | IPC::Message* |
618 | | Msg_SuspendInputEventQueue(int32_t routingId) |
619 | 0 | { |
620 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_SuspendInputEventQueue__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::INPUT_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
621 | 0 | } |
622 | | IPC::Message* |
623 | | Msg_AddDynamicScalars(int32_t routingId) |
624 | 0 | { |
625 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_AddDynamicScalars__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
626 | 0 | } |
627 | | IPC::Message* |
628 | | Msg_PClientOpenWindowOpConstructor(int32_t routingId) |
629 | 0 | { |
630 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_PClientOpenWindowOpConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
631 | 0 | } |
632 | | IPC::Message* |
633 | | Reply_PClientOpenWindowOpConstructor(int32_t routingId) |
634 | 0 | { |
635 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_PClientOpenWindowOpConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
636 | 0 | } |
637 | | IPC::Message* |
638 | | Msg_SaveRecording(int32_t routingId) |
639 | 0 | { |
640 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_SaveRecording__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
641 | 0 | } |
642 | | IPC::Message* |
643 | | Msg_InitBackground(int32_t routingId) |
644 | 0 | { |
645 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_InitBackground__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
646 | 0 | } |
647 | | IPC::Message* |
648 | | Msg_CreateChildProcess(int32_t routingId) |
649 | 0 | { |
650 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_CreateChildProcess__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
651 | 0 | } |
652 | | IPC::Message* |
653 | | Reply_CreateChildProcess(int32_t routingId) |
654 | 0 | { |
655 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_CreateChildProcess__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
656 | 0 | } |
657 | | IPC::Message* |
658 | | Msg_BridgeToChildProcess(int32_t routingId) |
659 | 0 | { |
660 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_BridgeToChildProcess__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
661 | 0 | } |
662 | | IPC::Message* |
663 | | Reply_BridgeToChildProcess(int32_t routingId) |
664 | 0 | { |
665 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_BridgeToChildProcess__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
666 | 0 | } |
667 | | IPC::Message* |
668 | | Msg_OpenRecordReplayChannel(int32_t routingId) |
669 | 0 | { |
670 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_OpenRecordReplayChannel__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
671 | 0 | } |
672 | | IPC::Message* |
673 | | Reply_OpenRecordReplayChannel(int32_t routingId) |
674 | 0 | { |
675 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_OpenRecordReplayChannel__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
676 | 0 | } |
677 | | IPC::Message* |
678 | | Msg_CreateReplayingProcess(int32_t routingId) |
679 | 0 | { |
680 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_CreateReplayingProcess__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
681 | 0 | } |
682 | | IPC::Message* |
683 | | Msg_TerminateReplayingProcess(int32_t routingId) |
684 | 0 | { |
685 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_TerminateReplayingProcess__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
686 | 0 | } |
687 | | IPC::Message* |
688 | | Msg_CreateGMPService(int32_t routingId) |
689 | 0 | { |
690 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_CreateGMPService__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
691 | 0 | } |
692 | | IPC::Message* |
693 | | Msg_InitStreamFilter(int32_t routingId) |
694 | 0 | { |
695 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_InitStreamFilter__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
696 | 0 | } |
697 | | IPC::Message* |
698 | | Reply_InitStreamFilter(int32_t routingId) |
699 | 0 | { |
700 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_InitStreamFilter__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
701 | 0 | } |
702 | | IPC::Message* |
703 | | Msg_LoadPlugin(int32_t routingId) |
704 | 0 | { |
705 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_LoadPlugin__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
706 | 0 | } |
707 | | IPC::Message* |
708 | | Reply_LoadPlugin(int32_t routingId) |
709 | 0 | { |
710 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_LoadPlugin__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
711 | 0 | } |
712 | | IPC::Message* |
713 | | Msg_ConnectPluginBridge(int32_t routingId) |
714 | 0 | { |
715 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_ConnectPluginBridge__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
716 | 0 | } |
717 | | IPC::Message* |
718 | | Reply_ConnectPluginBridge(int32_t routingId) |
719 | 0 | { |
720 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_ConnectPluginBridge__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
721 | 0 | } |
722 | | IPC::Message* |
723 | | Msg_PJavaScriptConstructor(int32_t routingId) |
724 | 0 | { |
725 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_PJavaScriptConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
726 | 0 | } |
727 | | IPC::Message* |
728 | | Reply_PJavaScriptConstructor(int32_t routingId) |
729 | 0 | { |
730 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_PJavaScriptConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
731 | 0 | } |
732 | | IPC::Message* |
733 | | Msg_PRemoteSpellcheckEngineConstructor(int32_t routingId) |
734 | 0 | { |
735 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_PRemoteSpellcheckEngineConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
736 | 0 | } |
737 | | IPC::Message* |
738 | | Reply_PRemoteSpellcheckEngineConstructor(int32_t routingId) |
739 | 0 | { |
740 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_PRemoteSpellcheckEngineConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
741 | 0 | } |
742 | | IPC::Message* |
743 | | Msg_InitCrashReporter(int32_t routingId) |
744 | 0 | { |
745 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_InitCrashReporter__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
746 | 0 | } |
747 | | IPC::Message* |
748 | | Msg_IsSecureURI(int32_t routingId) |
749 | 0 | { |
750 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_IsSecureURI__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
751 | 0 | } |
752 | | IPC::Message* |
753 | | Reply_IsSecureURI(int32_t routingId) |
754 | 0 | { |
755 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_IsSecureURI__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
756 | 0 | } |
757 | | IPC::Message* |
758 | | Msg_AccumulateMixedContentHSTS(int32_t routingId) |
759 | 0 | { |
760 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_AccumulateMixedContentHSTS__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
761 | 0 | } |
762 | | IPC::Message* |
763 | | Msg_PHalConstructor(int32_t routingId) |
764 | 0 | { |
765 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_PHalConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NESTED_INSIDE_CPOW, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
766 | 0 | } |
767 | | IPC::Message* |
768 | | Reply_PHalConstructor(int32_t routingId) |
769 | 0 | { |
770 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_PHalConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NESTED_INSIDE_CPOW, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
771 | 0 | } |
772 | | IPC::Message* |
773 | | Msg_PHeapSnapshotTempFileHelperConstructor(int32_t routingId) |
774 | 0 | { |
775 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_PHeapSnapshotTempFileHelperConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
776 | 0 | } |
777 | | IPC::Message* |
778 | | Reply_PHeapSnapshotTempFileHelperConstructor(int32_t routingId) |
779 | 0 | { |
780 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_PHeapSnapshotTempFileHelperConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
781 | 0 | } |
782 | | IPC::Message* |
783 | | Msg_PNeckoConstructor(int32_t routingId) |
784 | 0 | { |
785 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_PNeckoConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
786 | 0 | } |
787 | | IPC::Message* |
788 | | Reply_PNeckoConstructor(int32_t routingId) |
789 | 0 | { |
790 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_PNeckoConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
791 | 0 | } |
792 | | IPC::Message* |
793 | | Msg_PPrintingConstructor(int32_t routingId) |
794 | 0 | { |
795 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_PPrintingConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
796 | 0 | } |
797 | | IPC::Message* |
798 | | Reply_PPrintingConstructor(int32_t routingId) |
799 | 0 | { |
800 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_PPrintingConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
801 | 0 | } |
802 | | IPC::Message* |
803 | | Msg_PChildToParentStreamConstructor(int32_t routingId) |
804 | 0 | { |
805 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_PChildToParentStreamConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
806 | 0 | } |
807 | | IPC::Message* |
808 | | Reply_PChildToParentStreamConstructor(int32_t routingId) |
809 | 0 | { |
810 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_PChildToParentStreamConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
811 | 0 | } |
812 | | IPC::Message* |
813 | | Msg_PSpeechSynthesisConstructor(int32_t routingId) |
814 | 0 | { |
815 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_PSpeechSynthesisConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
816 | 0 | } |
817 | | IPC::Message* |
818 | | Reply_PSpeechSynthesisConstructor(int32_t routingId) |
819 | 0 | { |
820 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_PSpeechSynthesisConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
821 | 0 | } |
822 | | IPC::Message* |
823 | | Msg_PMediaConstructor(int32_t routingId) |
824 | 0 | { |
825 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_PMediaConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
826 | 0 | } |
827 | | IPC::Message* |
828 | | Reply_PMediaConstructor(int32_t routingId) |
829 | 0 | { |
830 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_PMediaConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
831 | 0 | } |
832 | | IPC::Message* |
833 | | Msg_PWebrtcGlobalConstructor(int32_t routingId) |
834 | 0 | { |
835 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_PWebrtcGlobalConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
836 | 0 | } |
837 | | IPC::Message* |
838 | | Reply_PWebrtcGlobalConstructor(int32_t routingId) |
839 | 0 | { |
840 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_PWebrtcGlobalConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
841 | 0 | } |
842 | | IPC::Message* |
843 | | Msg_PPresentationConstructor(int32_t routingId) |
844 | 0 | { |
845 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_PPresentationConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
846 | 0 | } |
847 | | IPC::Message* |
848 | | Reply_PPresentationConstructor(int32_t routingId) |
849 | 0 | { |
850 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_PPresentationConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
851 | 0 | } |
852 | | IPC::Message* |
853 | | Msg_CreateAudioIPCConnection(int32_t routingId) |
854 | 0 | { |
855 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_CreateAudioIPCConnection__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
856 | 0 | } |
857 | | IPC::Message* |
858 | | Reply_CreateAudioIPCConnection(int32_t routingId) |
859 | 0 | { |
860 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_CreateAudioIPCConnection__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
861 | 0 | } |
862 | | IPC::Message* |
863 | | Msg_PURLClassifierConstructor(int32_t routingId) |
864 | 0 | { |
865 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_PURLClassifierConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
866 | 0 | } |
867 | | IPC::Message* |
868 | | Reply_PURLClassifierConstructor(int32_t routingId) |
869 | 0 | { |
870 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_PURLClassifierConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
871 | 0 | } |
872 | | IPC::Message* |
873 | | Msg_ClassifyLocal(int32_t routingId) |
874 | 0 | { |
875 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_ClassifyLocal__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
876 | 0 | } |
877 | | IPC::Message* |
878 | | Reply_ClassifyLocal(int32_t routingId) |
879 | 0 | { |
880 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_ClassifyLocal__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
881 | 0 | } |
882 | | IPC::Message* |
883 | | Msg_PURLClassifierLocalConstructor(int32_t routingId) |
884 | 0 | { |
885 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_PURLClassifierLocalConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
886 | 0 | } |
887 | | IPC::Message* |
888 | | Reply_PURLClassifierLocalConstructor(int32_t routingId) |
889 | 0 | { |
890 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_PURLClassifierLocalConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
891 | 0 | } |
892 | | IPC::Message* |
893 | | Msg_PLoginReputationConstructor(int32_t routingId) |
894 | 0 | { |
895 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_PLoginReputationConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
896 | 0 | } |
897 | | IPC::Message* |
898 | | Reply_PLoginReputationConstructor(int32_t routingId) |
899 | 0 | { |
900 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_PLoginReputationConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
901 | 0 | } |
902 | | IPC::Message* |
903 | | Msg_StartVisitedQuery(int32_t routingId) |
904 | 0 | { |
905 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_StartVisitedQuery__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
906 | 0 | } |
907 | | IPC::Message* |
908 | | Msg_VisitURI(int32_t routingId) |
909 | 0 | { |
910 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_VisitURI__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
911 | 0 | } |
912 | | IPC::Message* |
913 | | Msg_SetURITitle(int32_t routingId) |
914 | 0 | { |
915 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_SetURITitle__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
916 | 0 | } |
917 | | IPC::Message* |
918 | | Msg_LoadURIExternal(int32_t routingId) |
919 | 0 | { |
920 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_LoadURIExternal__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
921 | 0 | } |
922 | | IPC::Message* |
923 | | Msg_ExtProtocolChannelConnectParent(int32_t routingId) |
924 | 0 | { |
925 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_ExtProtocolChannelConnectParent__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
926 | 0 | } |
927 | | IPC::Message* |
928 | | Msg_GetGfxVars(int32_t routingId) |
929 | 0 | { |
930 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_GetGfxVars__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
931 | 0 | } |
932 | | IPC::Message* |
933 | | Reply_GetGfxVars(int32_t routingId) |
934 | 0 | { |
935 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_GetGfxVars__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
936 | 0 | } |
937 | | IPC::Message* |
938 | | Msg_ReadFontList(int32_t routingId) |
939 | 0 | { |
940 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_ReadFontList__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
941 | 0 | } |
942 | | IPC::Message* |
943 | | Reply_ReadFontList(int32_t routingId) |
944 | 0 | { |
945 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_ReadFontList__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
946 | 0 | } |
947 | | IPC::Message* |
948 | | Msg_SyncMessage(int32_t routingId) |
949 | 0 | { |
950 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_SyncMessage__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
951 | 0 | } |
952 | | IPC::Message* |
953 | | Reply_SyncMessage(int32_t routingId) |
954 | 0 | { |
955 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_SyncMessage__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
956 | 0 | } |
957 | | IPC::Message* |
958 | | Msg_RpcMessage(int32_t routingId) |
959 | 0 | { |
960 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_RpcMessage__ID, IPC::Message::HeaderFlags(IPC::Message::NESTED_INSIDE_SYNC, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
961 | 0 | } |
962 | | IPC::Message* |
963 | | Reply_RpcMessage(int32_t routingId) |
964 | 0 | { |
965 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_RpcMessage__ID, IPC::Message::HeaderFlags(IPC::Message::NESTED_INSIDE_SYNC, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
966 | 0 | } |
967 | | IPC::Message* |
968 | | Msg_ShowAlert(int32_t routingId) |
969 | 0 | { |
970 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_ShowAlert__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
971 | 0 | } |
972 | | IPC::Message* |
973 | | Msg_CloseAlert(int32_t routingId) |
974 | 0 | { |
975 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_CloseAlert__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
976 | 0 | } |
977 | | IPC::Message* |
978 | | Msg_DisableNotifications(int32_t routingId) |
979 | 0 | { |
980 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_DisableNotifications__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
981 | 0 | } |
982 | | IPC::Message* |
983 | | Msg_OpenNotificationSettings(int32_t routingId) |
984 | 0 | { |
985 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_OpenNotificationSettings__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
986 | 0 | } |
987 | | IPC::Message* |
988 | | Msg_PPSMContentDownloaderConstructor(int32_t routingId) |
989 | 0 | { |
990 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_PPSMContentDownloaderConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
991 | 0 | } |
992 | | IPC::Message* |
993 | | Reply_PPSMContentDownloaderConstructor(int32_t routingId) |
994 | 0 | { |
995 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_PPSMContentDownloaderConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
996 | 0 | } |
997 | | IPC::Message* |
998 | | Msg_PExternalHelperAppConstructor(int32_t routingId) |
999 | 0 | { |
1000 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_PExternalHelperAppConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1001 | 0 | } |
1002 | | IPC::Message* |
1003 | | Reply_PExternalHelperAppConstructor(int32_t routingId) |
1004 | 0 | { |
1005 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_PExternalHelperAppConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
1006 | 0 | } |
1007 | | IPC::Message* |
1008 | | Msg_PHandlerServiceConstructor(int32_t routingId) |
1009 | 0 | { |
1010 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_PHandlerServiceConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1011 | 0 | } |
1012 | | IPC::Message* |
1013 | | Reply_PHandlerServiceConstructor(int32_t routingId) |
1014 | 0 | { |
1015 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_PHandlerServiceConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
1016 | 0 | } |
1017 | | IPC::Message* |
1018 | | Msg_AddGeolocationListener(int32_t routingId) |
1019 | 0 | { |
1020 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_AddGeolocationListener__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1021 | 0 | } |
1022 | | IPC::Message* |
1023 | | Msg_RemoveGeolocationListener(int32_t routingId) |
1024 | 0 | { |
1025 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_RemoveGeolocationListener__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1026 | 0 | } |
1027 | | IPC::Message* |
1028 | | Msg_SetGeolocationHigherAccuracy(int32_t routingId) |
1029 | 0 | { |
1030 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_SetGeolocationHigherAccuracy__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1031 | 0 | } |
1032 | | IPC::Message* |
1033 | | Msg_ConsoleMessage(int32_t routingId) |
1034 | 0 | { |
1035 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_ConsoleMessage__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1036 | 0 | } |
1037 | | IPC::Message* |
1038 | | Msg_ScriptError(int32_t routingId) |
1039 | 0 | { |
1040 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_ScriptError__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1041 | 0 | } |
1042 | | IPC::Message* |
1043 | | Msg_ScriptErrorWithStack(int32_t routingId) |
1044 | 0 | { |
1045 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_ScriptErrorWithStack__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1046 | 0 | } |
1047 | | IPC::Message* |
1048 | | Msg_SetClipboard(int32_t routingId) |
1049 | 0 | { |
1050 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_SetClipboard__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1051 | 0 | } |
1052 | | IPC::Message* |
1053 | | Msg_GetClipboard(int32_t routingId) |
1054 | 0 | { |
1055 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_GetClipboard__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1056 | 0 | } |
1057 | | IPC::Message* |
1058 | | Reply_GetClipboard(int32_t routingId) |
1059 | 0 | { |
1060 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_GetClipboard__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
1061 | 0 | } |
1062 | | IPC::Message* |
1063 | | Msg_GetExternalClipboardFormats(int32_t routingId) |
1064 | 0 | { |
1065 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_GetExternalClipboardFormats__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1066 | 0 | } |
1067 | | IPC::Message* |
1068 | | Reply_GetExternalClipboardFormats(int32_t routingId) |
1069 | 0 | { |
1070 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_GetExternalClipboardFormats__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
1071 | 0 | } |
1072 | | IPC::Message* |
1073 | | Msg_EmptyClipboard(int32_t routingId) |
1074 | 0 | { |
1075 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_EmptyClipboard__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1076 | 0 | } |
1077 | | IPC::Message* |
1078 | | Msg_ClipboardHasType(int32_t routingId) |
1079 | 0 | { |
1080 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_ClipboardHasType__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1081 | 0 | } |
1082 | | IPC::Message* |
1083 | | Reply_ClipboardHasType(int32_t routingId) |
1084 | 0 | { |
1085 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_ClipboardHasType__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
1086 | 0 | } |
1087 | | IPC::Message* |
1088 | | Msg_PlaySound(int32_t routingId) |
1089 | 0 | { |
1090 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_PlaySound__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_ENABLED, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1091 | 0 | } |
1092 | | IPC::Message* |
1093 | | Msg_Beep(int32_t routingId) |
1094 | 0 | { |
1095 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_Beep__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_ENABLED, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1096 | 0 | } |
1097 | | IPC::Message* |
1098 | | Msg_PlayEventSound(int32_t routingId) |
1099 | 0 | { |
1100 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_PlayEventSound__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_ENABLED, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1101 | 0 | } |
1102 | | IPC::Message* |
1103 | | Msg_GetSystemColors(int32_t routingId) |
1104 | 0 | { |
1105 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_GetSystemColors__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1106 | 0 | } |
1107 | | IPC::Message* |
1108 | | Reply_GetSystemColors(int32_t routingId) |
1109 | 0 | { |
1110 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_GetSystemColors__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
1111 | 0 | } |
1112 | | IPC::Message* |
1113 | | Msg_GetIconForExtension(int32_t routingId) |
1114 | 0 | { |
1115 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_GetIconForExtension__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1116 | 0 | } |
1117 | | IPC::Message* |
1118 | | Reply_GetIconForExtension(int32_t routingId) |
1119 | 0 | { |
1120 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_GetIconForExtension__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
1121 | 0 | } |
1122 | | IPC::Message* |
1123 | | Msg_GetShowPasswordSetting(int32_t routingId) |
1124 | 0 | { |
1125 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_GetShowPasswordSetting__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1126 | 0 | } |
1127 | | IPC::Message* |
1128 | | Reply_GetShowPasswordSetting(int32_t routingId) |
1129 | 0 | { |
1130 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_GetShowPasswordSetting__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
1131 | 0 | } |
1132 | | IPC::Message* |
1133 | | Msg_PrivateDocShellsExist(int32_t routingId) |
1134 | 0 | { |
1135 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_PrivateDocShellsExist__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1136 | 0 | } |
1137 | | IPC::Message* |
1138 | | Msg_FirstIdle(int32_t routingId) |
1139 | 0 | { |
1140 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_FirstIdle__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1141 | 0 | } |
1142 | | IPC::Message* |
1143 | | Msg_DeviceReset(int32_t routingId) |
1144 | 0 | { |
1145 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_DeviceReset__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1146 | 0 | } |
1147 | | IPC::Message* |
1148 | | Msg_KeywordToURI(int32_t routingId) |
1149 | 0 | { |
1150 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_KeywordToURI__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1151 | 0 | } |
1152 | | IPC::Message* |
1153 | | Reply_KeywordToURI(int32_t routingId) |
1154 | 0 | { |
1155 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_KeywordToURI__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
1156 | 0 | } |
1157 | | IPC::Message* |
1158 | | Msg_NotifyKeywordSearchLoading(int32_t routingId) |
1159 | 0 | { |
1160 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_NotifyKeywordSearchLoading__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1161 | 0 | } |
1162 | | IPC::Message* |
1163 | | Reply_NotifyKeywordSearchLoading(int32_t routingId) |
1164 | 0 | { |
1165 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_NotifyKeywordSearchLoading__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
1166 | 0 | } |
1167 | | IPC::Message* |
1168 | | Msg_CopyFavicon(int32_t routingId) |
1169 | 0 | { |
1170 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_CopyFavicon__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1171 | 0 | } |
1172 | | IPC::Message* |
1173 | | Msg_AllocateLayerTreeId(int32_t routingId) |
1174 | 0 | { |
1175 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_AllocateLayerTreeId__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1176 | 0 | } |
1177 | | IPC::Message* |
1178 | | Reply_AllocateLayerTreeId(int32_t routingId) |
1179 | 0 | { |
1180 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_AllocateLayerTreeId__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
1181 | 0 | } |
1182 | | IPC::Message* |
1183 | | Msg_DeallocateLayerTreeId(int32_t routingId) |
1184 | 0 | { |
1185 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_DeallocateLayerTreeId__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1186 | 0 | } |
1187 | | IPC::Message* |
1188 | | Msg_RecordingDeviceEvents(int32_t routingId) |
1189 | 0 | { |
1190 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_RecordingDeviceEvents__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1191 | 0 | } |
1192 | | IPC::Message* |
1193 | | Msg_GraphicsError(int32_t routingId) |
1194 | 0 | { |
1195 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_GraphicsError__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1196 | 0 | } |
1197 | | IPC::Message* |
1198 | | Msg_BeginDriverCrashGuard(int32_t routingId) |
1199 | 0 | { |
1200 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_BeginDriverCrashGuard__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1201 | 0 | } |
1202 | | IPC::Message* |
1203 | | Reply_BeginDriverCrashGuard(int32_t routingId) |
1204 | 0 | { |
1205 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_BeginDriverCrashGuard__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
1206 | 0 | } |
1207 | | IPC::Message* |
1208 | | Msg_EndDriverCrashGuard(int32_t routingId) |
1209 | 0 | { |
1210 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_EndDriverCrashGuard__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1211 | 0 | } |
1212 | | IPC::Message* |
1213 | | Reply_EndDriverCrashGuard(int32_t routingId) |
1214 | 0 | { |
1215 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_EndDriverCrashGuard__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
1216 | 0 | } |
1217 | | IPC::Message* |
1218 | | Msg_AddIdleObserver(int32_t routingId) |
1219 | 0 | { |
1220 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_AddIdleObserver__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1221 | 0 | } |
1222 | | IPC::Message* |
1223 | | Msg_RemoveIdleObserver(int32_t routingId) |
1224 | 0 | { |
1225 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_RemoveIdleObserver__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1226 | 0 | } |
1227 | | IPC::Message* |
1228 | | Msg_BackUpXResources(int32_t routingId) |
1229 | 0 | { |
1230 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_BackUpXResources__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1231 | 0 | } |
1232 | | IPC::Message* |
1233 | | Msg_RequestAnonymousTemporaryFile(int32_t routingId) |
1234 | 0 | { |
1235 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_RequestAnonymousTemporaryFile__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1236 | 0 | } |
1237 | | IPC::Message* |
1238 | | Msg_KeygenProcessValue(int32_t routingId) |
1239 | 0 | { |
1240 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_KeygenProcessValue__ID, IPC::Message::HeaderFlags(IPC::Message::NESTED_INSIDE_CPOW, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1241 | 0 | } |
1242 | | IPC::Message* |
1243 | | Reply_KeygenProcessValue(int32_t routingId) |
1244 | 0 | { |
1245 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_KeygenProcessValue__ID, IPC::Message::HeaderFlags(IPC::Message::NESTED_INSIDE_CPOW, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
1246 | 0 | } |
1247 | | IPC::Message* |
1248 | | Msg_KeygenProvideContent(int32_t routingId) |
1249 | 0 | { |
1250 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_KeygenProvideContent__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1251 | 0 | } |
1252 | | IPC::Message* |
1253 | | Reply_KeygenProvideContent(int32_t routingId) |
1254 | 0 | { |
1255 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_KeygenProvideContent__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
1256 | 0 | } |
1257 | | IPC::Message* |
1258 | | Msg_UnregisterRemoteFrame(int32_t routingId) |
1259 | 0 | { |
1260 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_UnregisterRemoteFrame__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1261 | 0 | } |
1262 | | IPC::Message* |
1263 | | Msg_NotifyTabDestroying(int32_t routingId) |
1264 | 0 | { |
1265 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_NotifyTabDestroying__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1266 | 0 | } |
1267 | | IPC::Message* |
1268 | | Msg_POfflineCacheUpdateConstructor(int32_t routingId) |
1269 | 0 | { |
1270 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_POfflineCacheUpdateConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1271 | 0 | } |
1272 | | IPC::Message* |
1273 | | Reply_POfflineCacheUpdateConstructor(int32_t routingId) |
1274 | 0 | { |
1275 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_POfflineCacheUpdateConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
1276 | 0 | } |
1277 | | IPC::Message* |
1278 | | Msg_SetOfflinePermission(int32_t routingId) |
1279 | 0 | { |
1280 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_SetOfflinePermission__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1281 | 0 | } |
1282 | | IPC::Message* |
1283 | | Msg_FinishShutdown(int32_t routingId) |
1284 | 0 | { |
1285 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_FinishShutdown__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1286 | 0 | } |
1287 | | IPC::Message* |
1288 | | Msg_UpdateDropEffect(int32_t routingId) |
1289 | 0 | { |
1290 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_UpdateDropEffect__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1291 | 0 | } |
1292 | | IPC::Message* |
1293 | | Msg_PContentPermissionRequestConstructor(int32_t routingId) |
1294 | 0 | { |
1295 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_PContentPermissionRequestConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1296 | 0 | } |
1297 | | IPC::Message* |
1298 | | Reply_PContentPermissionRequestConstructor(int32_t routingId) |
1299 | 0 | { |
1300 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_PContentPermissionRequestConstructor__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
1301 | 0 | } |
1302 | | IPC::Message* |
1303 | | Msg_ShutdownProfile(int32_t routingId) |
1304 | 0 | { |
1305 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_ShutdownProfile__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1306 | 0 | } |
1307 | | IPC::Message* |
1308 | | Msg_GetGraphicsDeviceInitData(int32_t routingId) |
1309 | 0 | { |
1310 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_GetGraphicsDeviceInitData__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1311 | 0 | } |
1312 | | IPC::Message* |
1313 | | Reply_GetGraphicsDeviceInitData(int32_t routingId) |
1314 | 0 | { |
1315 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_GetGraphicsDeviceInitData__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
1316 | 0 | } |
1317 | | IPC::Message* |
1318 | | Msg_CreateWindow(int32_t routingId) |
1319 | 0 | { |
1320 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_CreateWindow__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1321 | 0 | } |
1322 | | IPC::Message* |
1323 | | Reply_CreateWindow(int32_t routingId) |
1324 | 0 | { |
1325 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_CreateWindow__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
1326 | 0 | } |
1327 | | IPC::Message* |
1328 | | Msg_CreateWindowInDifferentProcess(int32_t routingId) |
1329 | 0 | { |
1330 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_CreateWindowInDifferentProcess__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1331 | 0 | } |
1332 | | IPC::Message* |
1333 | | Msg_GetAndroidSystemInfo(int32_t routingId) |
1334 | 0 | { |
1335 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_GetAndroidSystemInfo__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1336 | 0 | } |
1337 | | IPC::Message* |
1338 | | Reply_GetAndroidSystemInfo(int32_t routingId) |
1339 | 0 | { |
1340 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_GetAndroidSystemInfo__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
1341 | 0 | } |
1342 | | IPC::Message* |
1343 | | Msg_UngrabPointer(int32_t routingId) |
1344 | 0 | { |
1345 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_UngrabPointer__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1346 | 0 | } |
1347 | | IPC::Message* |
1348 | | Reply_UngrabPointer(int32_t routingId) |
1349 | 0 | { |
1350 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_UngrabPointer__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
1351 | 0 | } |
1352 | | IPC::Message* |
1353 | | Msg_RemovePermission(int32_t routingId) |
1354 | 0 | { |
1355 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_RemovePermission__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1356 | 0 | } |
1357 | | IPC::Message* |
1358 | | Reply_RemovePermission(int32_t routingId) |
1359 | 0 | { |
1360 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_RemovePermission__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
1361 | 0 | } |
1362 | | IPC::Message* |
1363 | | Msg_NotifyBenchmarkResult(int32_t routingId) |
1364 | 0 | { |
1365 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_NotifyBenchmarkResult__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1366 | 0 | } |
1367 | | IPC::Message* |
1368 | | Msg_NotifyPushObservers(int32_t routingId) |
1369 | 0 | { |
1370 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_NotifyPushObservers__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1371 | 0 | } |
1372 | | IPC::Message* |
1373 | | Msg_NotifyPushObserversWithData(int32_t routingId) |
1374 | 0 | { |
1375 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_NotifyPushObserversWithData__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1376 | 0 | } |
1377 | | IPC::Message* |
1378 | | Msg_NotifyPushSubscriptionChangeObservers(int32_t routingId) |
1379 | 0 | { |
1380 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_NotifyPushSubscriptionChangeObservers__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1381 | 0 | } |
1382 | | IPC::Message* |
1383 | | Msg_GetFilesRequest(int32_t routingId) |
1384 | 0 | { |
1385 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_GetFilesRequest__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1386 | 0 | } |
1387 | | IPC::Message* |
1388 | | Msg_DeleteGetFilesRequest(int32_t routingId) |
1389 | 0 | { |
1390 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_DeleteGetFilesRequest__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1391 | 0 | } |
1392 | | IPC::Message* |
1393 | | Msg_FileCreationRequest(int32_t routingId) |
1394 | 0 | { |
1395 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_FileCreationRequest__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1396 | 0 | } |
1397 | | IPC::Message* |
1398 | | Msg_StoreAndBroadcastBlobURLRegistration(int32_t routingId) |
1399 | 0 | { |
1400 | 0 | return new IPC::Message(routingId, Msg_StoreAndBroadcastBlobURLRegistration__ID, 8192, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY), true); |
1401 | 0 | } |
1402 | | IPC::Message* |
1403 | | Msg_UnstoreAndBroadcastBlobURLUnregistration(int32_t routingId) |
1404 | 0 | { |
1405 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_UnstoreAndBroadcastBlobURLUnregistration__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1406 | 0 | } |
1407 | | IPC::Message* |
1408 | | Msg_AccumulateChildHistograms(int32_t routingId) |
1409 | 0 | { |
1410 | 0 | return new IPC::Message(routingId, Msg_AccumulateChildHistograms__ID, 16384, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY), true); |
1411 | 0 | } |
1412 | | IPC::Message* |
1413 | | Msg_AccumulateChildKeyedHistograms(int32_t routingId) |
1414 | 0 | { |
1415 | 0 | return new IPC::Message(routingId, Msg_AccumulateChildKeyedHistograms__ID, 16384, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY), true); |
1416 | 0 | } |
1417 | | IPC::Message* |
1418 | | Msg_UpdateChildScalars(int32_t routingId) |
1419 | 0 | { |
1420 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_UpdateChildScalars__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1421 | 0 | } |
1422 | | IPC::Message* |
1423 | | Msg_UpdateChildKeyedScalars(int32_t routingId) |
1424 | 0 | { |
1425 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_UpdateChildKeyedScalars__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1426 | 0 | } |
1427 | | IPC::Message* |
1428 | | Msg_RecordChildEvents(int32_t routingId) |
1429 | 0 | { |
1430 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_RecordChildEvents__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1431 | 0 | } |
1432 | | IPC::Message* |
1433 | | Msg_RecordDiscardedData(int32_t routingId) |
1434 | 0 | { |
1435 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_RecordDiscardedData__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1436 | 0 | } |
1437 | | IPC::Message* |
1438 | | Msg_GetA11yContentId(int32_t routingId) |
1439 | 0 | { |
1440 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_GetA11yContentId__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1441 | 0 | } |
1442 | | IPC::Message* |
1443 | | Reply_GetA11yContentId(int32_t routingId) |
1444 | 0 | { |
1445 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_GetA11yContentId__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::SYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
1446 | 0 | } |
1447 | | IPC::Message* |
1448 | | Msg_A11yHandlerControl(int32_t routingId) |
1449 | 0 | { |
1450 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_A11yHandlerControl__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1451 | 0 | } |
1452 | | IPC::Message* |
1453 | | Msg_AddMemoryReport(int32_t routingId) |
1454 | 0 | { |
1455 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_AddMemoryReport__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1456 | 0 | } |
1457 | | IPC::Message* |
1458 | | Msg_FinishMemoryReport(int32_t routingId) |
1459 | 0 | { |
1460 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_FinishMemoryReport__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1461 | 0 | } |
1462 | | IPC::Message* |
1463 | | Msg_MaybeReloadPlugins(int32_t routingId) |
1464 | 0 | { |
1465 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_MaybeReloadPlugins__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1466 | 0 | } |
1467 | | IPC::Message* |
1468 | | Msg_BHRThreadHang(int32_t routingId) |
1469 | 0 | { |
1470 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_BHRThreadHang__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1471 | 0 | } |
1472 | | IPC::Message* |
1473 | | Msg_AddPerformanceMetrics(int32_t routingId) |
1474 | 0 | { |
1475 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_AddPerformanceMetrics__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1476 | 0 | } |
1477 | | IPC::Message* |
1478 | | Msg_FirstPartyStorageAccessGrantedForOrigin(int32_t routingId) |
1479 | 0 | { |
1480 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_FirstPartyStorageAccessGrantedForOrigin__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1481 | 0 | } |
1482 | | IPC::Message* |
1483 | | Reply_FirstPartyStorageAccessGrantedForOrigin(int32_t routingId) |
1484 | 0 | { |
1485 | 0 | return IPC::Message::IPDLMessage(routingId, Reply_FirstPartyStorageAccessGrantedForOrigin__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::REPLY)); |
1486 | 0 | } |
1487 | | IPC::Message* |
1488 | | Msg_StoreUserInteractionAsPermission(int32_t routingId) |
1489 | 0 | { |
1490 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_StoreUserInteractionAsPermission__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1491 | 0 | } |
1492 | | IPC::Message* |
1493 | | Msg_AttachBrowsingContext(int32_t routingId) |
1494 | 0 | { |
1495 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_AttachBrowsingContext__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1496 | 0 | } |
1497 | | IPC::Message* |
1498 | | Msg_DetachBrowsingContext(int32_t routingId) |
1499 | 0 | { |
1500 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_DetachBrowsingContext__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1501 | 0 | } |
1502 | | IPC::Message* |
1503 | | Msg_AsyncMessage(int32_t routingId) |
1504 | 0 | { |
1505 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_AsyncMessage__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1506 | 0 | } |
1507 | | IPC::Message* |
1508 | | Msg_NotifyPushSubscriptionModifiedObservers(int32_t routingId) |
1509 | 0 | { |
1510 | 0 | return IPC::Message::IPDLMessage(routingId, Msg_NotifyPushSubscriptionModifiedObservers__ID, IPC::Message::HeaderFlags(IPC::Message::NOT_NESTED, IPC::Message::NORMAL_PRIORITY, IPC::Message::COMPRESSION_NONE, IPC::Message::NOT_CONSTRUCTOR, IPC::Message::ASYNC, IPC::Message::NOT_INTERRUPT, IPC::Message::NOT_REPLY)); |
1511 | 0 | } |
1512 | | |
1513 | | } // namespace PContent |
1514 | | } // namespace dom |
1515 | | } // namespace mozilla |
1516 | | |
1517 | | //----------------------------------------------------------------------------- |
1518 | | // Method definitions for the IPDL type |union ChromeRegistryItem| |
1519 | | // |
1520 | | auto ChromeRegistryItem::MaybeDestroy(Type aNewType) -> bool |
1521 | 99 | { |
1522 | 99 | if ((mType) == (T__None)) { |
1523 | 0 | return true; |
1524 | 0 | } |
1525 | 99 | if ((mType) == (aNewType)) { |
1526 | 0 | return false; |
1527 | 0 | } |
1528 | 99 | switch (mType) { |
1529 | 99 | case TChromePackage: |
1530 | 75 | { |
1531 | 75 | (ptr_ChromePackage())->~ChromePackage__tdef(); |
1532 | 75 | break; |
1533 | 99 | } |
1534 | 99 | case TOverrideMapping: |
1535 | 24 | { |
1536 | 24 | (ptr_OverrideMapping())->~OverrideMapping__tdef(); |
1537 | 24 | break; |
1538 | 99 | } |
1539 | 99 | case TSubstitutionMapping: |
1540 | 0 | { |
1541 | 0 | (ptr_SubstitutionMapping())->~SubstitutionMapping__tdef(); |
1542 | 0 | break; |
1543 | 99 | } |
1544 | 99 | default: |
1545 | 0 | { |
1546 | 0 | mozilla::ipc::LogicError("not reached"); |
1547 | 0 | break; |
1548 | 99 | } |
1549 | 99 | } |
1550 | 99 | return true; |
1551 | 99 | } |
1552 | | |
1553 | | MOZ_IMPLICIT ChromeRegistryItem::ChromeRegistryItem(const ChromePackage& aOther) |
1554 | 75 | { |
1555 | 75 | new (mozilla::KnownNotNull, ptr_ChromePackage()) ChromePackage(aOther); |
1556 | 75 | mType = TChromePackage; |
1557 | 75 | } |
1558 | | |
1559 | | MOZ_IMPLICIT ChromeRegistryItem::ChromeRegistryItem(ChromePackage&& aOther) |
1560 | 0 | { |
1561 | 0 | new (mozilla::KnownNotNull, ptr_ChromePackage()) ChromePackage(std::move(aOther)); |
1562 | 0 | mType = TChromePackage; |
1563 | 0 | } |
1564 | | |
1565 | | MOZ_IMPLICIT ChromeRegistryItem::ChromeRegistryItem(const OverrideMapping& aOther) |
1566 | 24 | { |
1567 | 24 | new (mozilla::KnownNotNull, ptr_OverrideMapping()) OverrideMapping(aOther); |
1568 | 24 | mType = TOverrideMapping; |
1569 | 24 | } |
1570 | | |
1571 | | MOZ_IMPLICIT ChromeRegistryItem::ChromeRegistryItem(OverrideMapping&& aOther) |
1572 | 0 | { |
1573 | 0 | new (mozilla::KnownNotNull, ptr_OverrideMapping()) OverrideMapping(std::move(aOther)); |
1574 | 0 | mType = TOverrideMapping; |
1575 | 0 | } |
1576 | | |
1577 | | MOZ_IMPLICIT ChromeRegistryItem::ChromeRegistryItem(const SubstitutionMapping& aOther) |
1578 | 0 | { |
1579 | 0 | new (mozilla::KnownNotNull, ptr_SubstitutionMapping()) SubstitutionMapping(aOther); |
1580 | 0 | mType = TSubstitutionMapping; |
1581 | 0 | } |
1582 | | |
1583 | | MOZ_IMPLICIT ChromeRegistryItem::ChromeRegistryItem(SubstitutionMapping&& aOther) |
1584 | 0 | { |
1585 | 0 | new (mozilla::KnownNotNull, ptr_SubstitutionMapping()) SubstitutionMapping(std::move(aOther)); |
1586 | 0 | mType = TSubstitutionMapping; |
1587 | 0 | } |
1588 | | |
1589 | | MOZ_IMPLICIT ChromeRegistryItem::ChromeRegistryItem(const ChromeRegistryItem& aOther) |
1590 | 0 | { |
1591 | 0 | (aOther).AssertSanity(); |
1592 | 0 | switch ((aOther).type()) { |
1593 | 0 | case TChromePackage: |
1594 | 0 | { |
1595 | 0 | new (mozilla::KnownNotNull, ptr_ChromePackage()) ChromePackage((aOther).get_ChromePackage()); |
1596 | 0 | break; |
1597 | 0 | } |
1598 | 0 | case TOverrideMapping: |
1599 | 0 | { |
1600 | 0 | new (mozilla::KnownNotNull, ptr_OverrideMapping()) OverrideMapping((aOther).get_OverrideMapping()); |
1601 | 0 | break; |
1602 | 0 | } |
1603 | 0 | case TSubstitutionMapping: |
1604 | 0 | { |
1605 | 0 | new (mozilla::KnownNotNull, ptr_SubstitutionMapping()) SubstitutionMapping((aOther).get_SubstitutionMapping()); |
1606 | 0 | break; |
1607 | 0 | } |
1608 | 0 | case T__None: |
1609 | 0 | { |
1610 | 0 | break; |
1611 | 0 | } |
1612 | 0 | default: |
1613 | 0 | { |
1614 | 0 | mozilla::ipc::LogicError("unreached"); |
1615 | 0 | return; |
1616 | 0 | } |
1617 | 0 | } |
1618 | 0 | mType = (aOther).type(); |
1619 | 0 | } |
1620 | | |
1621 | | MOZ_IMPLICIT ChromeRegistryItem::ChromeRegistryItem(ChromeRegistryItem&& aOther) |
1622 | 0 | { |
1623 | 0 | (aOther).AssertSanity(); |
1624 | 0 | Type t = (aOther).type(); |
1625 | 0 | switch (t) { |
1626 | 0 | case TChromePackage: |
1627 | 0 | { |
1628 | 0 | new (mozilla::KnownNotNull, ptr_ChromePackage()) ChromePackage(std::move((aOther).get_ChromePackage())); |
1629 | 0 | static_cast<void>((aOther).MaybeDestroy(T__None)); |
1630 | 0 | break; |
1631 | 0 | } |
1632 | 0 | case TOverrideMapping: |
1633 | 0 | { |
1634 | 0 | new (mozilla::KnownNotNull, ptr_OverrideMapping()) OverrideMapping(std::move((aOther).get_OverrideMapping())); |
1635 | 0 | static_cast<void>((aOther).MaybeDestroy(T__None)); |
1636 | 0 | break; |
1637 | 0 | } |
1638 | 0 | case TSubstitutionMapping: |
1639 | 0 | { |
1640 | 0 | new (mozilla::KnownNotNull, ptr_SubstitutionMapping()) SubstitutionMapping(std::move((aOther).get_SubstitutionMapping())); |
1641 | 0 | static_cast<void>((aOther).MaybeDestroy(T__None)); |
1642 | 0 | break; |
1643 | 0 | } |
1644 | 0 | case T__None: |
1645 | 0 | { |
1646 | 0 | break; |
1647 | 0 | } |
1648 | 0 | default: |
1649 | 0 | { |
1650 | 0 | mozilla::ipc::LogicError("unreached"); |
1651 | 0 | return; |
1652 | 0 | } |
1653 | 0 | } |
1654 | 0 | (aOther).mType = T__None; |
1655 | 0 | mType = t; |
1656 | 0 | } |
1657 | | |
1658 | | ChromeRegistryItem::~ChromeRegistryItem() |
1659 | 99 | { |
1660 | 99 | static_cast<void>(MaybeDestroy(T__None)); |
1661 | 99 | } |
1662 | | |
1663 | | auto ChromeRegistryItem::operator=(const ChromePackage& aRhs) -> ChromeRegistryItem& |
1664 | 0 | { |
1665 | 0 | if (MaybeDestroy(TChromePackage)) { |
1666 | 0 | new (mozilla::KnownNotNull, ptr_ChromePackage()) ChromePackage; |
1667 | 0 | } |
1668 | 0 | (*(ptr_ChromePackage())) = aRhs; |
1669 | 0 | mType = TChromePackage; |
1670 | 0 | return (*(this)); |
1671 | 0 | } |
1672 | | |
1673 | | auto ChromeRegistryItem::operator=(ChromePackage&& aRhs) -> ChromeRegistryItem& |
1674 | 0 | { |
1675 | 0 | if (MaybeDestroy(TChromePackage)) { |
1676 | 0 | new (mozilla::KnownNotNull, ptr_ChromePackage()) ChromePackage; |
1677 | 0 | } |
1678 | 0 | (*(ptr_ChromePackage())) = std::move(aRhs); |
1679 | 0 | mType = TChromePackage; |
1680 | 0 | return (*(this)); |
1681 | 0 | } |
1682 | | |
1683 | | auto ChromeRegistryItem::operator=(const OverrideMapping& aRhs) -> ChromeRegistryItem& |
1684 | 0 | { |
1685 | 0 | if (MaybeDestroy(TOverrideMapping)) { |
1686 | 0 | new (mozilla::KnownNotNull, ptr_OverrideMapping()) OverrideMapping; |
1687 | 0 | } |
1688 | 0 | (*(ptr_OverrideMapping())) = aRhs; |
1689 | 0 | mType = TOverrideMapping; |
1690 | 0 | return (*(this)); |
1691 | 0 | } |
1692 | | |
1693 | | auto ChromeRegistryItem::operator=(OverrideMapping&& aRhs) -> ChromeRegistryItem& |
1694 | 0 | { |
1695 | 0 | if (MaybeDestroy(TOverrideMapping)) { |
1696 | 0 | new (mozilla::KnownNotNull, ptr_OverrideMapping()) OverrideMapping; |
1697 | 0 | } |
1698 | 0 | (*(ptr_OverrideMapping())) = std::move(aRhs); |
1699 | 0 | mType = TOverrideMapping; |
1700 | 0 | return (*(this)); |
1701 | 0 | } |
1702 | | |
1703 | | auto ChromeRegistryItem::operator=(const SubstitutionMapping& aRhs) -> ChromeRegistryItem& |
1704 | 0 | { |
1705 | 0 | if (MaybeDestroy(TSubstitutionMapping)) { |
1706 | 0 | new (mozilla::KnownNotNull, ptr_SubstitutionMapping()) SubstitutionMapping; |
1707 | 0 | } |
1708 | 0 | (*(ptr_SubstitutionMapping())) = aRhs; |
1709 | 0 | mType = TSubstitutionMapping; |
1710 | 0 | return (*(this)); |
1711 | 0 | } |
1712 | | |
1713 | | auto ChromeRegistryItem::operator=(SubstitutionMapping&& aRhs) -> ChromeRegistryItem& |
1714 | 0 | { |
1715 | 0 | if (MaybeDestroy(TSubstitutionMapping)) { |
1716 | 0 | new (mozilla::KnownNotNull, ptr_SubstitutionMapping()) SubstitutionMapping; |
1717 | 0 | } |
1718 | 0 | (*(ptr_SubstitutionMapping())) = std::move(aRhs); |
1719 | 0 | mType = TSubstitutionMapping; |
1720 | 0 | return (*(this)); |
1721 | 0 | } |
1722 | | |
1723 | | auto ChromeRegistryItem::operator=(const ChromeRegistryItem& aRhs) -> ChromeRegistryItem& |
1724 | 0 | { |
1725 | 0 | (aRhs).AssertSanity(); |
1726 | 0 | Type t = (aRhs).type(); |
1727 | 0 | switch (t) { |
1728 | 0 | case TChromePackage: |
1729 | 0 | { |
1730 | 0 | if (MaybeDestroy(t)) { |
1731 | 0 | new (mozilla::KnownNotNull, ptr_ChromePackage()) ChromePackage; |
1732 | 0 | } |
1733 | 0 | (*(ptr_ChromePackage())) = (aRhs).get_ChromePackage(); |
1734 | 0 | break; |
1735 | 0 | } |
1736 | 0 | case TOverrideMapping: |
1737 | 0 | { |
1738 | 0 | if (MaybeDestroy(t)) { |
1739 | 0 | new (mozilla::KnownNotNull, ptr_OverrideMapping()) OverrideMapping; |
1740 | 0 | } |
1741 | 0 | (*(ptr_OverrideMapping())) = (aRhs).get_OverrideMapping(); |
1742 | 0 | break; |
1743 | 0 | } |
1744 | 0 | case TSubstitutionMapping: |
1745 | 0 | { |
1746 | 0 | if (MaybeDestroy(t)) { |
1747 | 0 | new (mozilla::KnownNotNull, ptr_SubstitutionMapping()) SubstitutionMapping; |
1748 | 0 | } |
1749 | 0 | (*(ptr_SubstitutionMapping())) = (aRhs).get_SubstitutionMapping(); |
1750 | 0 | break; |
1751 | 0 | } |
1752 | 0 | case T__None: |
1753 | 0 | { |
1754 | 0 | static_cast<void>(MaybeDestroy(t)); |
1755 | 0 | break; |
1756 | 0 | } |
1757 | 0 | default: |
1758 | 0 | { |
1759 | 0 | mozilla::ipc::LogicError("unreached"); |
1760 | 0 | break; |
1761 | 0 | } |
1762 | 0 | } |
1763 | 0 | mType = t; |
1764 | 0 | return (*(this)); |
1765 | 0 | } |
1766 | | |
1767 | | auto ChromeRegistryItem::operator=(ChromeRegistryItem&& aRhs) -> ChromeRegistryItem& |
1768 | 0 | { |
1769 | 0 | (aRhs).AssertSanity(); |
1770 | 0 | Type t = (aRhs).type(); |
1771 | 0 | switch (t) { |
1772 | 0 | case TChromePackage: |
1773 | 0 | { |
1774 | 0 | if (MaybeDestroy(t)) { |
1775 | 0 | new (mozilla::KnownNotNull, ptr_ChromePackage()) ChromePackage; |
1776 | 0 | } |
1777 | 0 | (*(ptr_ChromePackage())) = std::move((aRhs).get_ChromePackage()); |
1778 | 0 | static_cast<void>((aRhs).MaybeDestroy(T__None)); |
1779 | 0 | break; |
1780 | 0 | } |
1781 | 0 | case TOverrideMapping: |
1782 | 0 | { |
1783 | 0 | if (MaybeDestroy(t)) { |
1784 | 0 | new (mozilla::KnownNotNull, ptr_OverrideMapping()) OverrideMapping; |
1785 | 0 | } |
1786 | 0 | (*(ptr_OverrideMapping())) = std::move((aRhs).get_OverrideMapping()); |
1787 | 0 | static_cast<void>((aRhs).MaybeDestroy(T__None)); |
1788 | 0 | break; |
1789 | 0 | } |
1790 | 0 | case TSubstitutionMapping: |
1791 | 0 | { |
1792 | 0 | if (MaybeDestroy(t)) { |
1793 | 0 | new (mozilla::KnownNotNull, ptr_SubstitutionMapping()) SubstitutionMapping; |
1794 | 0 | } |
1795 | 0 | (*(ptr_SubstitutionMapping())) = std::move((aRhs).get_SubstitutionMapping()); |
1796 | 0 | static_cast<void>((aRhs).MaybeDestroy(T__None)); |
1797 | 0 | break; |
1798 | 0 | } |
1799 | 0 | case T__None: |
1800 | 0 | { |
1801 | 0 | static_cast<void>(MaybeDestroy(t)); |
1802 | 0 | break; |
1803 | 0 | } |
1804 | 0 | default: |
1805 | 0 | { |
1806 | 0 | mozilla::ipc::LogicError("unreached"); |
1807 | 0 | break; |
1808 | 0 | } |
1809 | 0 | } |
1810 | 0 | (aRhs).mType = T__None; |
1811 | 0 | mType = t; |
1812 | 0 | return (*(this)); |
1813 | 0 | } |
1814 | | |
1815 | | auto ChromeRegistryItem::operator==(const ChromePackage& aRhs) const -> bool |
1816 | 0 | { |
1817 | 0 | return (get_ChromePackage()) == (aRhs); |
1818 | 0 | } |
1819 | | |
1820 | | auto ChromeRegistryItem::operator==(const OverrideMapping& aRhs) const -> bool |
1821 | 0 | { |
1822 | 0 | return (get_OverrideMapping()) == (aRhs); |
1823 | 0 | } |
1824 | | |
1825 | | auto ChromeRegistryItem::operator==(const SubstitutionMapping& aRhs) const -> bool |
1826 | 0 | { |
1827 | 0 | return (get_SubstitutionMapping()) == (aRhs); |
1828 | 0 | } |
1829 | | |
1830 | | auto ChromeRegistryItem::operator==(const ChromeRegistryItem& aRhs) const -> bool |
1831 | 0 | { |
1832 | 0 | if ((type()) != ((aRhs).type())) { |
1833 | 0 | return false; |
1834 | 0 | } |
1835 | 0 | |
1836 | 0 | switch (type()) { |
1837 | 0 | case TChromePackage: |
1838 | 0 | { |
1839 | 0 | return (get_ChromePackage()) == ((aRhs).get_ChromePackage()); |
1840 | 0 | } |
1841 | 0 | case TOverrideMapping: |
1842 | 0 | { |
1843 | 0 | return (get_OverrideMapping()) == ((aRhs).get_OverrideMapping()); |
1844 | 0 | } |
1845 | 0 | case TSubstitutionMapping: |
1846 | 0 | { |
1847 | 0 | return (get_SubstitutionMapping()) == ((aRhs).get_SubstitutionMapping()); |
1848 | 0 | } |
1849 | 0 | default: |
1850 | 0 | { |
1851 | 0 | mozilla::ipc::LogicError("unreached"); |
1852 | 0 | return false; |
1853 | 0 | } |
1854 | 0 | } |
1855 | 0 | } |
1856 | | |
1857 | | auto ChromeRegistryItem::get(ChromePackage* aOutValue) const -> void |
1858 | 0 | { |
1859 | 0 | (*(aOutValue)) = get_ChromePackage(); |
1860 | 0 | } |
1861 | | |
1862 | | auto ChromeRegistryItem::get(OverrideMapping* aOutValue) const -> void |
1863 | 0 | { |
1864 | 0 | (*(aOutValue)) = get_OverrideMapping(); |
1865 | 0 | } |
1866 | | |
1867 | | auto ChromeRegistryItem::get(SubstitutionMapping* aOutValue) const -> void |
1868 | 0 | { |
1869 | 0 | (*(aOutValue)) = get_SubstitutionMapping(); |
1870 | 0 | } |
1871 | | |
1872 | | |
1873 | | namespace mozilla { |
1874 | | namespace ipc { |
1875 | | auto IPDLParamTraits<ChromeRegistryItem>::Write( |
1876 | | IPC::Message* aMsg, |
1877 | | mozilla::ipc::IProtocol* aActor, |
1878 | | const paramType& aVar) -> void |
1879 | | { |
1880 | | typedef ChromeRegistryItem union__; |
1881 | | int type; |
1882 | | type = (aVar).type(); |
1883 | | WriteIPDLParam(aMsg, aActor, type); |
1884 | | // Sentinel = 'ChromeRegistryItem' |
1885 | | (aMsg)->WriteSentinel(3067203916); |
1886 | | |
1887 | | switch (type) { |
1888 | | case union__::TChromePackage: |
1889 | | { |
1890 | | WriteIPDLParam(aMsg, aActor, (aVar).get_ChromePackage()); |
1891 | | // Sentinel = 'TChromePackage' |
1892 | | (aMsg)->WriteSentinel(1814060292); |
1893 | | return; |
1894 | | } |
1895 | | case union__::TOverrideMapping: |
1896 | | { |
1897 | | WriteIPDLParam(aMsg, aActor, (aVar).get_OverrideMapping()); |
1898 | | // Sentinel = 'TOverrideMapping' |
1899 | | (aMsg)->WriteSentinel(842771158); |
1900 | | return; |
1901 | | } |
1902 | | case union__::TSubstitutionMapping: |
1903 | | { |
1904 | | WriteIPDLParam(aMsg, aActor, (aVar).get_SubstitutionMapping()); |
1905 | | // Sentinel = 'TSubstitutionMapping' |
1906 | | (aMsg)->WriteSentinel(163450211); |
1907 | | return; |
1908 | | } |
1909 | | default: |
1910 | | { |
1911 | | (aActor)->FatalError("unknown union type"); |
1912 | | return; |
1913 | | } |
1914 | | } |
1915 | | } |
1916 | | |
1917 | | auto IPDLParamTraits<ChromeRegistryItem>::Read( |
1918 | | const IPC::Message* aMsg, |
1919 | | PickleIterator* aIter, |
1920 | | mozilla::ipc::IProtocol* aActor, |
1921 | | paramType* aVar) -> bool |
1922 | 0 | { |
1923 | 0 | typedef ChromeRegistryItem union__; |
1924 | 0 | int type; |
1925 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&(type)))))) { |
1926 | 0 | (aActor)->FatalError("Error deserializing type of union ChromeRegistryItem"); |
1927 | 0 | return false; |
1928 | 0 | } |
1929 | 0 | // Sentinel = 'ChromeRegistryItem' |
1930 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 3067203916)))) { |
1931 | 0 | mozilla::ipc::SentinelReadError("Error deserializing type of union ChromeRegistryItem"); |
1932 | 0 | return false; |
1933 | 0 | } |
1934 | 0 | |
1935 | 0 | switch (type) { |
1936 | 0 | case union__::TChromePackage: |
1937 | 0 | { |
1938 | 0 | ChromePackage tmp = ChromePackage(); |
1939 | 0 | (*(aVar)) = tmp; |
1940 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->get_ChromePackage())))))) { |
1941 | 0 | (aActor)->FatalError("Error deserializing variant TChromePackage of union ChromeRegistryItem"); |
1942 | 0 | return false; |
1943 | 0 | } |
1944 | 0 | // Sentinel = 'TChromePackage' |
1945 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 1814060292)))) { |
1946 | 0 | mozilla::ipc::SentinelReadError("Error deserializing variant TChromePackage of union ChromeRegistryItem"); |
1947 | 0 | return false; |
1948 | 0 | } |
1949 | 0 | return true; |
1950 | 0 | } |
1951 | 0 | case union__::TOverrideMapping: |
1952 | 0 | { |
1953 | 0 | OverrideMapping tmp = OverrideMapping(); |
1954 | 0 | (*(aVar)) = tmp; |
1955 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->get_OverrideMapping())))))) { |
1956 | 0 | (aActor)->FatalError("Error deserializing variant TOverrideMapping of union ChromeRegistryItem"); |
1957 | 0 | return false; |
1958 | 0 | } |
1959 | 0 | // Sentinel = 'TOverrideMapping' |
1960 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 842771158)))) { |
1961 | 0 | mozilla::ipc::SentinelReadError("Error deserializing variant TOverrideMapping of union ChromeRegistryItem"); |
1962 | 0 | return false; |
1963 | 0 | } |
1964 | 0 | return true; |
1965 | 0 | } |
1966 | 0 | case union__::TSubstitutionMapping: |
1967 | 0 | { |
1968 | 0 | SubstitutionMapping tmp = SubstitutionMapping(); |
1969 | 0 | (*(aVar)) = tmp; |
1970 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->get_SubstitutionMapping())))))) { |
1971 | 0 | (aActor)->FatalError("Error deserializing variant TSubstitutionMapping of union ChromeRegistryItem"); |
1972 | 0 | return false; |
1973 | 0 | } |
1974 | 0 | // Sentinel = 'TSubstitutionMapping' |
1975 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 163450211)))) { |
1976 | 0 | mozilla::ipc::SentinelReadError("Error deserializing variant TSubstitutionMapping of union ChromeRegistryItem"); |
1977 | 0 | return false; |
1978 | 0 | } |
1979 | 0 | return true; |
1980 | 0 | } |
1981 | 0 | default: |
1982 | 0 | { |
1983 | 0 | (aActor)->FatalError("unknown union type"); |
1984 | 0 | return false; |
1985 | 0 | } |
1986 | 0 | } |
1987 | 0 | } |
1988 | | |
1989 | | } // namespace ipc |
1990 | | } // namespace mozilla |
1991 | | |
1992 | | //----------------------------------------------------------------------------- |
1993 | | // Method definitions for the IPDL type |struct FontListEntry| |
1994 | | // |
1995 | | namespace mozilla { |
1996 | | namespace dom { |
1997 | | auto FontListEntry::operator==(const FontListEntry& _o) const -> bool |
1998 | 0 | { |
1999 | 0 | if ((!((familyName()) == ((_o).familyName())))) { |
2000 | 0 | return false; |
2001 | 0 | } |
2002 | 0 | if ((!((faceName()) == ((_o).faceName())))) { |
2003 | 0 | return false; |
2004 | 0 | } |
2005 | 0 | if ((!((filepath()) == ((_o).filepath())))) { |
2006 | 0 | return false; |
2007 | 0 | } |
2008 | 0 | if ((!((weightRange()) == ((_o).weightRange())))) { |
2009 | 0 | return false; |
2010 | 0 | } |
2011 | 0 | if ((!((stretchRange()) == ((_o).stretchRange())))) { |
2012 | 0 | return false; |
2013 | 0 | } |
2014 | 0 | if ((!((styleRange()) == ((_o).styleRange())))) { |
2015 | 0 | return false; |
2016 | 0 | } |
2017 | 0 | if ((!((index()) == ((_o).index())))) { |
2018 | 0 | return false; |
2019 | 0 | } |
2020 | 0 | return true; |
2021 | 0 | } |
2022 | | |
2023 | | auto FontListEntry::operator!=(const FontListEntry& _o) const -> bool |
2024 | 0 | { |
2025 | 0 | return (!(operator==(_o))); |
2026 | 0 | } |
2027 | | |
2028 | | } // namespace dom |
2029 | | } // namespace mozilla |
2030 | | |
2031 | | namespace mozilla { |
2032 | | namespace ipc { |
2033 | | auto IPDLParamTraits<mozilla::dom::FontListEntry>::Write( |
2034 | | IPC::Message* aMsg, |
2035 | | mozilla::ipc::IProtocol* aActor, |
2036 | | const paramType& aVar) -> void |
2037 | 0 | { |
2038 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).familyName()); |
2039 | 0 | // Sentinel = 'familyName' |
2040 | 0 | (aMsg)->WriteSentinel(2706306507); |
2041 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).faceName()); |
2042 | 0 | // Sentinel = 'faceName' |
2043 | 0 | (aMsg)->WriteSentinel(1955821238); |
2044 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).filepath()); |
2045 | 0 | // Sentinel = 'filepath' |
2046 | 0 | (aMsg)->WriteSentinel(1477761447); |
2047 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).weightRange()); |
2048 | 0 | // Sentinel = 'weightRange' |
2049 | 0 | (aMsg)->WriteSentinel(760619868); |
2050 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).stretchRange()); |
2051 | 0 | // Sentinel = 'stretchRange' |
2052 | 0 | (aMsg)->WriteSentinel(1291831122); |
2053 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).styleRange()); |
2054 | 0 | // Sentinel = 'styleRange' |
2055 | 0 | (aMsg)->WriteSentinel(1950013852); |
2056 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).index()); |
2057 | 0 | // Sentinel = 'index' |
2058 | 0 | (aMsg)->WriteSentinel(2111871137); |
2059 | 0 | } |
2060 | | |
2061 | | auto IPDLParamTraits<mozilla::dom::FontListEntry>::Read( |
2062 | | const IPC::Message* aMsg, |
2063 | | PickleIterator* aIter, |
2064 | | mozilla::ipc::IProtocol* aActor, |
2065 | | paramType* aVar) -> bool |
2066 | 0 | { |
2067 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->familyName())))))) { |
2068 | 0 | (aActor)->FatalError("Error deserializing 'familyName' (nsCString) member of 'FontListEntry'"); |
2069 | 0 | return false; |
2070 | 0 | } |
2071 | 0 | // Sentinel = 'familyName' |
2072 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 2706306507)))) { |
2073 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'familyName' (nsCString) member of 'FontListEntry'"); |
2074 | 0 | return false; |
2075 | 0 | } |
2076 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->faceName())))))) { |
2077 | 0 | (aActor)->FatalError("Error deserializing 'faceName' (nsCString) member of 'FontListEntry'"); |
2078 | 0 | return false; |
2079 | 0 | } |
2080 | 0 | // Sentinel = 'faceName' |
2081 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 1955821238)))) { |
2082 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'faceName' (nsCString) member of 'FontListEntry'"); |
2083 | 0 | return false; |
2084 | 0 | } |
2085 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->filepath())))))) { |
2086 | 0 | (aActor)->FatalError("Error deserializing 'filepath' (nsCString) member of 'FontListEntry'"); |
2087 | 0 | return false; |
2088 | 0 | } |
2089 | 0 | // Sentinel = 'filepath' |
2090 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 1477761447)))) { |
2091 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'filepath' (nsCString) member of 'FontListEntry'"); |
2092 | 0 | return false; |
2093 | 0 | } |
2094 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->weightRange())))))) { |
2095 | 0 | (aActor)->FatalError("Error deserializing 'weightRange' (uint32_t) member of 'FontListEntry'"); |
2096 | 0 | return false; |
2097 | 0 | } |
2098 | 0 | // Sentinel = 'weightRange' |
2099 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 760619868)))) { |
2100 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'weightRange' (uint32_t) member of 'FontListEntry'"); |
2101 | 0 | return false; |
2102 | 0 | } |
2103 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->stretchRange())))))) { |
2104 | 0 | (aActor)->FatalError("Error deserializing 'stretchRange' (uint32_t) member of 'FontListEntry'"); |
2105 | 0 | return false; |
2106 | 0 | } |
2107 | 0 | // Sentinel = 'stretchRange' |
2108 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 1291831122)))) { |
2109 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'stretchRange' (uint32_t) member of 'FontListEntry'"); |
2110 | 0 | return false; |
2111 | 0 | } |
2112 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->styleRange())))))) { |
2113 | 0 | (aActor)->FatalError("Error deserializing 'styleRange' (uint32_t) member of 'FontListEntry'"); |
2114 | 0 | return false; |
2115 | 0 | } |
2116 | 0 | // Sentinel = 'styleRange' |
2117 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 1950013852)))) { |
2118 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'styleRange' (uint32_t) member of 'FontListEntry'"); |
2119 | 0 | return false; |
2120 | 0 | } |
2121 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->index())))))) { |
2122 | 0 | (aActor)->FatalError("Error deserializing 'index' (uint8_t) member of 'FontListEntry'"); |
2123 | 0 | return false; |
2124 | 0 | } |
2125 | 0 | // Sentinel = 'index' |
2126 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 2111871137)))) { |
2127 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'index' (uint8_t) member of 'FontListEntry'"); |
2128 | 0 | return false; |
2129 | 0 | } |
2130 | 0 | return true; |
2131 | 0 | } |
2132 | | |
2133 | | } // namespace ipc |
2134 | | } // namespace mozilla |
2135 | | |
2136 | | //----------------------------------------------------------------------------- |
2137 | | // Method definitions for the IPDL type |struct FontFamilyListEntry| |
2138 | | // |
2139 | | namespace mozilla { |
2140 | | namespace dom { |
2141 | | auto FontFamilyListEntry::operator==(const FontFamilyListEntry& _o) const -> bool |
2142 | 0 | { |
2143 | 0 | if ((!((familyName()) == ((_o).familyName())))) { |
2144 | 0 | return false; |
2145 | 0 | } |
2146 | 0 | if ((!((entryType()) == ((_o).entryType())))) { |
2147 | 0 | return false; |
2148 | 0 | } |
2149 | 0 | return true; |
2150 | 0 | } |
2151 | | |
2152 | | auto FontFamilyListEntry::operator!=(const FontFamilyListEntry& _o) const -> bool |
2153 | 0 | { |
2154 | 0 | return (!(operator==(_o))); |
2155 | 0 | } |
2156 | | |
2157 | | } // namespace dom |
2158 | | } // namespace mozilla |
2159 | | |
2160 | | namespace mozilla { |
2161 | | namespace ipc { |
2162 | | auto IPDLParamTraits<mozilla::dom::FontFamilyListEntry>::Write( |
2163 | | IPC::Message* aMsg, |
2164 | | mozilla::ipc::IProtocol* aActor, |
2165 | | const paramType& aVar) -> void |
2166 | 0 | { |
2167 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).familyName()); |
2168 | 0 | // Sentinel = 'familyName' |
2169 | 0 | (aMsg)->WriteSentinel(2706306507); |
2170 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).entryType()); |
2171 | 0 | // Sentinel = 'entryType' |
2172 | 0 | (aMsg)->WriteSentinel(2383838557); |
2173 | 0 | } |
2174 | | |
2175 | | auto IPDLParamTraits<mozilla::dom::FontFamilyListEntry>::Read( |
2176 | | const IPC::Message* aMsg, |
2177 | | PickleIterator* aIter, |
2178 | | mozilla::ipc::IProtocol* aActor, |
2179 | | paramType* aVar) -> bool |
2180 | 0 | { |
2181 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->familyName())))))) { |
2182 | 0 | (aActor)->FatalError("Error deserializing 'familyName' (nsCString) member of 'FontFamilyListEntry'"); |
2183 | 0 | return false; |
2184 | 0 | } |
2185 | 0 | // Sentinel = 'familyName' |
2186 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 2706306507)))) { |
2187 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'familyName' (nsCString) member of 'FontFamilyListEntry'"); |
2188 | 0 | return false; |
2189 | 0 | } |
2190 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->entryType())))))) { |
2191 | 0 | (aActor)->FatalError("Error deserializing 'entryType' (uint8_t) member of 'FontFamilyListEntry'"); |
2192 | 0 | return false; |
2193 | 0 | } |
2194 | 0 | // Sentinel = 'entryType' |
2195 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 2383838557)))) { |
2196 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'entryType' (uint8_t) member of 'FontFamilyListEntry'"); |
2197 | 0 | return false; |
2198 | 0 | } |
2199 | 0 | return true; |
2200 | 0 | } |
2201 | | |
2202 | | } // namespace ipc |
2203 | | } // namespace mozilla |
2204 | | |
2205 | | //----------------------------------------------------------------------------- |
2206 | | // Method definitions for the IPDL type |struct FontPatternListEntry| |
2207 | | // |
2208 | | namespace mozilla { |
2209 | | namespace dom { |
2210 | | auto FontPatternListEntry::operator==(const FontPatternListEntry& _o) const -> bool |
2211 | 0 | { |
2212 | 0 | if ((!((pattern()) == ((_o).pattern())))) { |
2213 | 0 | return false; |
2214 | 0 | } |
2215 | 0 | if ((!((appFontFamily()) == ((_o).appFontFamily())))) { |
2216 | 0 | return false; |
2217 | 0 | } |
2218 | 0 | return true; |
2219 | 0 | } |
2220 | | |
2221 | | auto FontPatternListEntry::operator!=(const FontPatternListEntry& _o) const -> bool |
2222 | 0 | { |
2223 | 0 | return (!(operator==(_o))); |
2224 | 0 | } |
2225 | | |
2226 | | } // namespace dom |
2227 | | } // namespace mozilla |
2228 | | |
2229 | | namespace mozilla { |
2230 | | namespace ipc { |
2231 | | auto IPDLParamTraits<mozilla::dom::FontPatternListEntry>::Write( |
2232 | | IPC::Message* aMsg, |
2233 | | mozilla::ipc::IProtocol* aActor, |
2234 | | const paramType& aVar) -> void |
2235 | 0 | { |
2236 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).pattern()); |
2237 | 0 | // Sentinel = 'pattern' |
2238 | 0 | (aMsg)->WriteSentinel(2105892009); |
2239 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).appFontFamily()); |
2240 | 0 | // Sentinel = 'appFontFamily' |
2241 | 0 | (aMsg)->WriteSentinel(549205695); |
2242 | 0 | } |
2243 | | |
2244 | | auto IPDLParamTraits<mozilla::dom::FontPatternListEntry>::Read( |
2245 | | const IPC::Message* aMsg, |
2246 | | PickleIterator* aIter, |
2247 | | mozilla::ipc::IProtocol* aActor, |
2248 | | paramType* aVar) -> bool |
2249 | 0 | { |
2250 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->pattern())))))) { |
2251 | 0 | (aActor)->FatalError("Error deserializing 'pattern' (nsCString) member of 'FontPatternListEntry'"); |
2252 | 0 | return false; |
2253 | 0 | } |
2254 | 0 | // Sentinel = 'pattern' |
2255 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 2105892009)))) { |
2256 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'pattern' (nsCString) member of 'FontPatternListEntry'"); |
2257 | 0 | return false; |
2258 | 0 | } |
2259 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->appFontFamily())))))) { |
2260 | 0 | (aActor)->FatalError("Error deserializing 'appFontFamily' (bool) member of 'FontPatternListEntry'"); |
2261 | 0 | return false; |
2262 | 0 | } |
2263 | 0 | // Sentinel = 'appFontFamily' |
2264 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 549205695)))) { |
2265 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'appFontFamily' (bool) member of 'FontPatternListEntry'"); |
2266 | 0 | return false; |
2267 | 0 | } |
2268 | 0 | return true; |
2269 | 0 | } |
2270 | | |
2271 | | } // namespace ipc |
2272 | | } // namespace mozilla |
2273 | | |
2274 | | //----------------------------------------------------------------------------- |
2275 | | // Method definitions for the IPDL type |union SystemFontListEntry| |
2276 | | // |
2277 | | namespace mozilla { |
2278 | | namespace dom { |
2279 | | auto SystemFontListEntry::MaybeDestroy(Type aNewType) -> bool |
2280 | 0 | { |
2281 | 0 | if ((mType) == (T__None)) { |
2282 | 0 | return true; |
2283 | 0 | } |
2284 | 0 | if ((mType) == (aNewType)) { |
2285 | 0 | return false; |
2286 | 0 | } |
2287 | 0 | switch (mType) { |
2288 | 0 | case TFontFamilyListEntry: |
2289 | 0 | { |
2290 | 0 | (ptr_FontFamilyListEntry())->~FontFamilyListEntry__tdef(); |
2291 | 0 | break; |
2292 | 0 | } |
2293 | 0 | case TFontPatternListEntry: |
2294 | 0 | { |
2295 | 0 | (ptr_FontPatternListEntry())->~FontPatternListEntry__tdef(); |
2296 | 0 | break; |
2297 | 0 | } |
2298 | 0 | default: |
2299 | 0 | { |
2300 | 0 | mozilla::ipc::LogicError("not reached"); |
2301 | 0 | break; |
2302 | 0 | } |
2303 | 0 | } |
2304 | 0 | return true; |
2305 | 0 | } |
2306 | | |
2307 | | MOZ_IMPLICIT SystemFontListEntry::SystemFontListEntry(const FontFamilyListEntry& aOther) |
2308 | 0 | { |
2309 | 0 | new (mozilla::KnownNotNull, ptr_FontFamilyListEntry()) FontFamilyListEntry(aOther); |
2310 | 0 | mType = TFontFamilyListEntry; |
2311 | 0 | } |
2312 | | |
2313 | | MOZ_IMPLICIT SystemFontListEntry::SystemFontListEntry(FontFamilyListEntry&& aOther) |
2314 | 0 | { |
2315 | 0 | new (mozilla::KnownNotNull, ptr_FontFamilyListEntry()) FontFamilyListEntry(std::move(aOther)); |
2316 | 0 | mType = TFontFamilyListEntry; |
2317 | 0 | } |
2318 | | |
2319 | | MOZ_IMPLICIT SystemFontListEntry::SystemFontListEntry(const FontPatternListEntry& aOther) |
2320 | 0 | { |
2321 | 0 | new (mozilla::KnownNotNull, ptr_FontPatternListEntry()) FontPatternListEntry(aOther); |
2322 | 0 | mType = TFontPatternListEntry; |
2323 | 0 | } |
2324 | | |
2325 | | MOZ_IMPLICIT SystemFontListEntry::SystemFontListEntry(FontPatternListEntry&& aOther) |
2326 | 0 | { |
2327 | 0 | new (mozilla::KnownNotNull, ptr_FontPatternListEntry()) FontPatternListEntry(std::move(aOther)); |
2328 | 0 | mType = TFontPatternListEntry; |
2329 | 0 | } |
2330 | | |
2331 | | MOZ_IMPLICIT SystemFontListEntry::SystemFontListEntry(const SystemFontListEntry& aOther) |
2332 | 0 | { |
2333 | 0 | (aOther).AssertSanity(); |
2334 | 0 | switch ((aOther).type()) { |
2335 | 0 | case TFontFamilyListEntry: |
2336 | 0 | { |
2337 | 0 | new (mozilla::KnownNotNull, ptr_FontFamilyListEntry()) FontFamilyListEntry((aOther).get_FontFamilyListEntry()); |
2338 | 0 | break; |
2339 | 0 | } |
2340 | 0 | case TFontPatternListEntry: |
2341 | 0 | { |
2342 | 0 | new (mozilla::KnownNotNull, ptr_FontPatternListEntry()) FontPatternListEntry((aOther).get_FontPatternListEntry()); |
2343 | 0 | break; |
2344 | 0 | } |
2345 | 0 | case T__None: |
2346 | 0 | { |
2347 | 0 | break; |
2348 | 0 | } |
2349 | 0 | default: |
2350 | 0 | { |
2351 | 0 | mozilla::ipc::LogicError("unreached"); |
2352 | 0 | return; |
2353 | 0 | } |
2354 | 0 | } |
2355 | 0 | mType = (aOther).type(); |
2356 | 0 | } |
2357 | | |
2358 | | MOZ_IMPLICIT SystemFontListEntry::SystemFontListEntry(SystemFontListEntry&& aOther) |
2359 | 0 | { |
2360 | 0 | (aOther).AssertSanity(); |
2361 | 0 | Type t = (aOther).type(); |
2362 | 0 | switch (t) { |
2363 | 0 | case TFontFamilyListEntry: |
2364 | 0 | { |
2365 | 0 | new (mozilla::KnownNotNull, ptr_FontFamilyListEntry()) FontFamilyListEntry(std::move((aOther).get_FontFamilyListEntry())); |
2366 | 0 | static_cast<void>((aOther).MaybeDestroy(T__None)); |
2367 | 0 | break; |
2368 | 0 | } |
2369 | 0 | case TFontPatternListEntry: |
2370 | 0 | { |
2371 | 0 | new (mozilla::KnownNotNull, ptr_FontPatternListEntry()) FontPatternListEntry(std::move((aOther).get_FontPatternListEntry())); |
2372 | 0 | static_cast<void>((aOther).MaybeDestroy(T__None)); |
2373 | 0 | break; |
2374 | 0 | } |
2375 | 0 | case T__None: |
2376 | 0 | { |
2377 | 0 | break; |
2378 | 0 | } |
2379 | 0 | default: |
2380 | 0 | { |
2381 | 0 | mozilla::ipc::LogicError("unreached"); |
2382 | 0 | return; |
2383 | 0 | } |
2384 | 0 | } |
2385 | 0 | (aOther).mType = T__None; |
2386 | 0 | mType = t; |
2387 | 0 | } |
2388 | | |
2389 | | SystemFontListEntry::~SystemFontListEntry() |
2390 | 0 | { |
2391 | 0 | static_cast<void>(MaybeDestroy(T__None)); |
2392 | 0 | } |
2393 | | |
2394 | | auto SystemFontListEntry::operator=(const FontFamilyListEntry& aRhs) -> SystemFontListEntry& |
2395 | 0 | { |
2396 | 0 | if (MaybeDestroy(TFontFamilyListEntry)) { |
2397 | 0 | new (mozilla::KnownNotNull, ptr_FontFamilyListEntry()) FontFamilyListEntry; |
2398 | 0 | } |
2399 | 0 | (*(ptr_FontFamilyListEntry())) = aRhs; |
2400 | 0 | mType = TFontFamilyListEntry; |
2401 | 0 | return (*(this)); |
2402 | 0 | } |
2403 | | |
2404 | | auto SystemFontListEntry::operator=(FontFamilyListEntry&& aRhs) -> SystemFontListEntry& |
2405 | 0 | { |
2406 | 0 | if (MaybeDestroy(TFontFamilyListEntry)) { |
2407 | 0 | new (mozilla::KnownNotNull, ptr_FontFamilyListEntry()) FontFamilyListEntry; |
2408 | 0 | } |
2409 | 0 | (*(ptr_FontFamilyListEntry())) = std::move(aRhs); |
2410 | 0 | mType = TFontFamilyListEntry; |
2411 | 0 | return (*(this)); |
2412 | 0 | } |
2413 | | |
2414 | | auto SystemFontListEntry::operator=(const FontPatternListEntry& aRhs) -> SystemFontListEntry& |
2415 | 0 | { |
2416 | 0 | if (MaybeDestroy(TFontPatternListEntry)) { |
2417 | 0 | new (mozilla::KnownNotNull, ptr_FontPatternListEntry()) FontPatternListEntry; |
2418 | 0 | } |
2419 | 0 | (*(ptr_FontPatternListEntry())) = aRhs; |
2420 | 0 | mType = TFontPatternListEntry; |
2421 | 0 | return (*(this)); |
2422 | 0 | } |
2423 | | |
2424 | | auto SystemFontListEntry::operator=(FontPatternListEntry&& aRhs) -> SystemFontListEntry& |
2425 | 0 | { |
2426 | 0 | if (MaybeDestroy(TFontPatternListEntry)) { |
2427 | 0 | new (mozilla::KnownNotNull, ptr_FontPatternListEntry()) FontPatternListEntry; |
2428 | 0 | } |
2429 | 0 | (*(ptr_FontPatternListEntry())) = std::move(aRhs); |
2430 | 0 | mType = TFontPatternListEntry; |
2431 | 0 | return (*(this)); |
2432 | 0 | } |
2433 | | |
2434 | | auto SystemFontListEntry::operator=(const SystemFontListEntry& aRhs) -> SystemFontListEntry& |
2435 | 0 | { |
2436 | 0 | (aRhs).AssertSanity(); |
2437 | 0 | Type t = (aRhs).type(); |
2438 | 0 | switch (t) { |
2439 | 0 | case TFontFamilyListEntry: |
2440 | 0 | { |
2441 | 0 | if (MaybeDestroy(t)) { |
2442 | 0 | new (mozilla::KnownNotNull, ptr_FontFamilyListEntry()) FontFamilyListEntry; |
2443 | 0 | } |
2444 | 0 | (*(ptr_FontFamilyListEntry())) = (aRhs).get_FontFamilyListEntry(); |
2445 | 0 | break; |
2446 | 0 | } |
2447 | 0 | case TFontPatternListEntry: |
2448 | 0 | { |
2449 | 0 | if (MaybeDestroy(t)) { |
2450 | 0 | new (mozilla::KnownNotNull, ptr_FontPatternListEntry()) FontPatternListEntry; |
2451 | 0 | } |
2452 | 0 | (*(ptr_FontPatternListEntry())) = (aRhs).get_FontPatternListEntry(); |
2453 | 0 | break; |
2454 | 0 | } |
2455 | 0 | case T__None: |
2456 | 0 | { |
2457 | 0 | static_cast<void>(MaybeDestroy(t)); |
2458 | 0 | break; |
2459 | 0 | } |
2460 | 0 | default: |
2461 | 0 | { |
2462 | 0 | mozilla::ipc::LogicError("unreached"); |
2463 | 0 | break; |
2464 | 0 | } |
2465 | 0 | } |
2466 | 0 | mType = t; |
2467 | 0 | return (*(this)); |
2468 | 0 | } |
2469 | | |
2470 | | auto SystemFontListEntry::operator=(SystemFontListEntry&& aRhs) -> SystemFontListEntry& |
2471 | 0 | { |
2472 | 0 | (aRhs).AssertSanity(); |
2473 | 0 | Type t = (aRhs).type(); |
2474 | 0 | switch (t) { |
2475 | 0 | case TFontFamilyListEntry: |
2476 | 0 | { |
2477 | 0 | if (MaybeDestroy(t)) { |
2478 | 0 | new (mozilla::KnownNotNull, ptr_FontFamilyListEntry()) FontFamilyListEntry; |
2479 | 0 | } |
2480 | 0 | (*(ptr_FontFamilyListEntry())) = std::move((aRhs).get_FontFamilyListEntry()); |
2481 | 0 | static_cast<void>((aRhs).MaybeDestroy(T__None)); |
2482 | 0 | break; |
2483 | 0 | } |
2484 | 0 | case TFontPatternListEntry: |
2485 | 0 | { |
2486 | 0 | if (MaybeDestroy(t)) { |
2487 | 0 | new (mozilla::KnownNotNull, ptr_FontPatternListEntry()) FontPatternListEntry; |
2488 | 0 | } |
2489 | 0 | (*(ptr_FontPatternListEntry())) = std::move((aRhs).get_FontPatternListEntry()); |
2490 | 0 | static_cast<void>((aRhs).MaybeDestroy(T__None)); |
2491 | 0 | break; |
2492 | 0 | } |
2493 | 0 | case T__None: |
2494 | 0 | { |
2495 | 0 | static_cast<void>(MaybeDestroy(t)); |
2496 | 0 | break; |
2497 | 0 | } |
2498 | 0 | default: |
2499 | 0 | { |
2500 | 0 | mozilla::ipc::LogicError("unreached"); |
2501 | 0 | break; |
2502 | 0 | } |
2503 | 0 | } |
2504 | 0 | (aRhs).mType = T__None; |
2505 | 0 | mType = t; |
2506 | 0 | return (*(this)); |
2507 | 0 | } |
2508 | | |
2509 | | auto SystemFontListEntry::operator==(const FontFamilyListEntry& aRhs) const -> bool |
2510 | 0 | { |
2511 | 0 | return (get_FontFamilyListEntry()) == (aRhs); |
2512 | 0 | } |
2513 | | |
2514 | | auto SystemFontListEntry::operator==(const FontPatternListEntry& aRhs) const -> bool |
2515 | 0 | { |
2516 | 0 | return (get_FontPatternListEntry()) == (aRhs); |
2517 | 0 | } |
2518 | | |
2519 | | auto SystemFontListEntry::operator==(const SystemFontListEntry& aRhs) const -> bool |
2520 | 0 | { |
2521 | 0 | if ((type()) != ((aRhs).type())) { |
2522 | 0 | return false; |
2523 | 0 | } |
2524 | 0 | |
2525 | 0 | switch (type()) { |
2526 | 0 | case TFontFamilyListEntry: |
2527 | 0 | { |
2528 | 0 | return (get_FontFamilyListEntry()) == ((aRhs).get_FontFamilyListEntry()); |
2529 | 0 | } |
2530 | 0 | case TFontPatternListEntry: |
2531 | 0 | { |
2532 | 0 | return (get_FontPatternListEntry()) == ((aRhs).get_FontPatternListEntry()); |
2533 | 0 | } |
2534 | 0 | default: |
2535 | 0 | { |
2536 | 0 | mozilla::ipc::LogicError("unreached"); |
2537 | 0 | return false; |
2538 | 0 | } |
2539 | 0 | } |
2540 | 0 | } |
2541 | | |
2542 | | auto SystemFontListEntry::get(FontFamilyListEntry* aOutValue) const -> void |
2543 | 0 | { |
2544 | 0 | (*(aOutValue)) = get_FontFamilyListEntry(); |
2545 | 0 | } |
2546 | | |
2547 | | auto SystemFontListEntry::get(FontPatternListEntry* aOutValue) const -> void |
2548 | 0 | { |
2549 | 0 | (*(aOutValue)) = get_FontPatternListEntry(); |
2550 | 0 | } |
2551 | | |
2552 | | } // namespace dom |
2553 | | } // namespace mozilla |
2554 | | |
2555 | | namespace mozilla { |
2556 | | namespace ipc { |
2557 | | auto IPDLParamTraits<mozilla::dom::SystemFontListEntry>::Write( |
2558 | | IPC::Message* aMsg, |
2559 | | mozilla::ipc::IProtocol* aActor, |
2560 | | const paramType& aVar) -> void |
2561 | | { |
2562 | | typedef mozilla::dom::SystemFontListEntry union__; |
2563 | | int type; |
2564 | | type = (aVar).type(); |
2565 | | WriteIPDLParam(aMsg, aActor, type); |
2566 | | // Sentinel = 'SystemFontListEntry' |
2567 | | (aMsg)->WriteSentinel(565114267); |
2568 | | |
2569 | | switch (type) { |
2570 | | case union__::TFontFamilyListEntry: |
2571 | | { |
2572 | | WriteIPDLParam(aMsg, aActor, (aVar).get_FontFamilyListEntry()); |
2573 | | // Sentinel = 'TFontFamilyListEntry' |
2574 | | (aMsg)->WriteSentinel(2436678433); |
2575 | | return; |
2576 | | } |
2577 | | case union__::TFontPatternListEntry: |
2578 | | { |
2579 | | WriteIPDLParam(aMsg, aActor, (aVar).get_FontPatternListEntry()); |
2580 | | // Sentinel = 'TFontPatternListEntry' |
2581 | | (aMsg)->WriteSentinel(1869552752); |
2582 | | return; |
2583 | | } |
2584 | | default: |
2585 | | { |
2586 | | (aActor)->FatalError("unknown union type"); |
2587 | | return; |
2588 | | } |
2589 | | } |
2590 | | } |
2591 | | |
2592 | | auto IPDLParamTraits<mozilla::dom::SystemFontListEntry>::Read( |
2593 | | const IPC::Message* aMsg, |
2594 | | PickleIterator* aIter, |
2595 | | mozilla::ipc::IProtocol* aActor, |
2596 | | paramType* aVar) -> bool |
2597 | 0 | { |
2598 | 0 | typedef mozilla::dom::SystemFontListEntry union__; |
2599 | 0 | int type; |
2600 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&(type)))))) { |
2601 | 0 | (aActor)->FatalError("Error deserializing type of union SystemFontListEntry"); |
2602 | 0 | return false; |
2603 | 0 | } |
2604 | 0 | // Sentinel = 'SystemFontListEntry' |
2605 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 565114267)))) { |
2606 | 0 | mozilla::ipc::SentinelReadError("Error deserializing type of union SystemFontListEntry"); |
2607 | 0 | return false; |
2608 | 0 | } |
2609 | 0 | |
2610 | 0 | switch (type) { |
2611 | 0 | case union__::TFontFamilyListEntry: |
2612 | 0 | { |
2613 | 0 | mozilla::dom::FontFamilyListEntry tmp = mozilla::dom::FontFamilyListEntry(); |
2614 | 0 | (*(aVar)) = tmp; |
2615 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->get_FontFamilyListEntry())))))) { |
2616 | 0 | (aActor)->FatalError("Error deserializing variant TFontFamilyListEntry of union SystemFontListEntry"); |
2617 | 0 | return false; |
2618 | 0 | } |
2619 | 0 | // Sentinel = 'TFontFamilyListEntry' |
2620 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 2436678433)))) { |
2621 | 0 | mozilla::ipc::SentinelReadError("Error deserializing variant TFontFamilyListEntry of union SystemFontListEntry"); |
2622 | 0 | return false; |
2623 | 0 | } |
2624 | 0 | return true; |
2625 | 0 | } |
2626 | 0 | case union__::TFontPatternListEntry: |
2627 | 0 | { |
2628 | 0 | mozilla::dom::FontPatternListEntry tmp = mozilla::dom::FontPatternListEntry(); |
2629 | 0 | (*(aVar)) = tmp; |
2630 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->get_FontPatternListEntry())))))) { |
2631 | 0 | (aActor)->FatalError("Error deserializing variant TFontPatternListEntry of union SystemFontListEntry"); |
2632 | 0 | return false; |
2633 | 0 | } |
2634 | 0 | // Sentinel = 'TFontPatternListEntry' |
2635 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 1869552752)))) { |
2636 | 0 | mozilla::ipc::SentinelReadError("Error deserializing variant TFontPatternListEntry of union SystemFontListEntry"); |
2637 | 0 | return false; |
2638 | 0 | } |
2639 | 0 | return true; |
2640 | 0 | } |
2641 | 0 | default: |
2642 | 0 | { |
2643 | 0 | (aActor)->FatalError("unknown union type"); |
2644 | 0 | return false; |
2645 | 0 | } |
2646 | 0 | } |
2647 | 0 | } |
2648 | | |
2649 | | } // namespace ipc |
2650 | | } // namespace mozilla |
2651 | | |
2652 | | //----------------------------------------------------------------------------- |
2653 | | // Method definitions for the IPDL type |union PrefValue| |
2654 | | // |
2655 | | namespace mozilla { |
2656 | | namespace dom { |
2657 | | auto PrefValue::MaybeDestroy(Type aNewType) -> bool |
2658 | 0 | { |
2659 | 0 | if ((mType) == (T__None)) { |
2660 | 0 | return true; |
2661 | 0 | } |
2662 | 0 | if ((mType) == (aNewType)) { |
2663 | 0 | return false; |
2664 | 0 | } |
2665 | 0 | switch (mType) { |
2666 | 0 | case TnsCString: |
2667 | 0 | { |
2668 | 0 | (ptr_nsCString())->~nsCString__tdef(); |
2669 | 0 | break; |
2670 | 0 | } |
2671 | 0 | case Tint32_t: |
2672 | 0 | { |
2673 | 0 | (ptr_int32_t())->~int32_t__tdef(); |
2674 | 0 | break; |
2675 | 0 | } |
2676 | 0 | case Tbool: |
2677 | 0 | { |
2678 | 0 | (ptr_bool())->~bool__tdef(); |
2679 | 0 | break; |
2680 | 0 | } |
2681 | 0 | default: |
2682 | 0 | { |
2683 | 0 | mozilla::ipc::LogicError("not reached"); |
2684 | 0 | break; |
2685 | 0 | } |
2686 | 0 | } |
2687 | 0 | return true; |
2688 | 0 | } |
2689 | | |
2690 | | MOZ_IMPLICIT PrefValue::PrefValue(const nsCString& aOther) |
2691 | 0 | { |
2692 | 0 | new (mozilla::KnownNotNull, ptr_nsCString()) nsCString(aOther); |
2693 | 0 | mType = TnsCString; |
2694 | 0 | } |
2695 | | |
2696 | | MOZ_IMPLICIT PrefValue::PrefValue(nsCString&& aOther) |
2697 | 0 | { |
2698 | 0 | new (mozilla::KnownNotNull, ptr_nsCString()) nsCString(std::move(aOther)); |
2699 | 0 | mType = TnsCString; |
2700 | 0 | } |
2701 | | |
2702 | | MOZ_IMPLICIT PrefValue::PrefValue(const int32_t& aOther) |
2703 | 0 | { |
2704 | 0 | new (mozilla::KnownNotNull, ptr_int32_t()) int32_t(aOther); |
2705 | 0 | mType = Tint32_t; |
2706 | 0 | } |
2707 | | |
2708 | | MOZ_IMPLICIT PrefValue::PrefValue(int32_t&& aOther) |
2709 | 0 | { |
2710 | 0 | new (mozilla::KnownNotNull, ptr_int32_t()) int32_t(std::move(aOther)); |
2711 | 0 | mType = Tint32_t; |
2712 | 0 | } |
2713 | | |
2714 | | MOZ_IMPLICIT PrefValue::PrefValue(const bool& aOther) |
2715 | 0 | { |
2716 | 0 | new (mozilla::KnownNotNull, ptr_bool()) bool(aOther); |
2717 | 0 | mType = Tbool; |
2718 | 0 | } |
2719 | | |
2720 | | MOZ_IMPLICIT PrefValue::PrefValue(bool&& aOther) |
2721 | 0 | { |
2722 | 0 | new (mozilla::KnownNotNull, ptr_bool()) bool(std::move(aOther)); |
2723 | 0 | mType = Tbool; |
2724 | 0 | } |
2725 | | |
2726 | | MOZ_IMPLICIT PrefValue::PrefValue(const PrefValue& aOther) |
2727 | 0 | { |
2728 | 0 | (aOther).AssertSanity(); |
2729 | 0 | switch ((aOther).type()) { |
2730 | 0 | case TnsCString: |
2731 | 0 | { |
2732 | 0 | new (mozilla::KnownNotNull, ptr_nsCString()) nsCString((aOther).get_nsCString()); |
2733 | 0 | break; |
2734 | 0 | } |
2735 | 0 | case Tint32_t: |
2736 | 0 | { |
2737 | 0 | new (mozilla::KnownNotNull, ptr_int32_t()) int32_t((aOther).get_int32_t()); |
2738 | 0 | break; |
2739 | 0 | } |
2740 | 0 | case Tbool: |
2741 | 0 | { |
2742 | 0 | new (mozilla::KnownNotNull, ptr_bool()) bool((aOther).get_bool()); |
2743 | 0 | break; |
2744 | 0 | } |
2745 | 0 | case T__None: |
2746 | 0 | { |
2747 | 0 | break; |
2748 | 0 | } |
2749 | 0 | default: |
2750 | 0 | { |
2751 | 0 | mozilla::ipc::LogicError("unreached"); |
2752 | 0 | return; |
2753 | 0 | } |
2754 | 0 | } |
2755 | 0 | mType = (aOther).type(); |
2756 | 0 | } |
2757 | | |
2758 | | MOZ_IMPLICIT PrefValue::PrefValue(PrefValue&& aOther) |
2759 | 0 | { |
2760 | 0 | (aOther).AssertSanity(); |
2761 | 0 | Type t = (aOther).type(); |
2762 | 0 | switch (t) { |
2763 | 0 | case TnsCString: |
2764 | 0 | { |
2765 | 0 | new (mozilla::KnownNotNull, ptr_nsCString()) nsCString(std::move((aOther).get_nsCString())); |
2766 | 0 | static_cast<void>((aOther).MaybeDestroy(T__None)); |
2767 | 0 | break; |
2768 | 0 | } |
2769 | 0 | case Tint32_t: |
2770 | 0 | { |
2771 | 0 | new (mozilla::KnownNotNull, ptr_int32_t()) int32_t(std::move((aOther).get_int32_t())); |
2772 | 0 | static_cast<void>((aOther).MaybeDestroy(T__None)); |
2773 | 0 | break; |
2774 | 0 | } |
2775 | 0 | case Tbool: |
2776 | 0 | { |
2777 | 0 | new (mozilla::KnownNotNull, ptr_bool()) bool(std::move((aOther).get_bool())); |
2778 | 0 | static_cast<void>((aOther).MaybeDestroy(T__None)); |
2779 | 0 | break; |
2780 | 0 | } |
2781 | 0 | case T__None: |
2782 | 0 | { |
2783 | 0 | break; |
2784 | 0 | } |
2785 | 0 | default: |
2786 | 0 | { |
2787 | 0 | mozilla::ipc::LogicError("unreached"); |
2788 | 0 | return; |
2789 | 0 | } |
2790 | 0 | } |
2791 | 0 | (aOther).mType = T__None; |
2792 | 0 | mType = t; |
2793 | 0 | } |
2794 | | |
2795 | | PrefValue::~PrefValue() |
2796 | 0 | { |
2797 | 0 | static_cast<void>(MaybeDestroy(T__None)); |
2798 | 0 | } |
2799 | | |
2800 | | auto PrefValue::operator=(const nsCString& aRhs) -> PrefValue& |
2801 | 0 | { |
2802 | 0 | if (MaybeDestroy(TnsCString)) { |
2803 | 0 | new (mozilla::KnownNotNull, ptr_nsCString()) nsCString; |
2804 | 0 | } |
2805 | 0 | (*(ptr_nsCString())) = aRhs; |
2806 | 0 | mType = TnsCString; |
2807 | 0 | return (*(this)); |
2808 | 0 | } |
2809 | | |
2810 | | auto PrefValue::operator=(nsCString&& aRhs) -> PrefValue& |
2811 | 0 | { |
2812 | 0 | if (MaybeDestroy(TnsCString)) { |
2813 | 0 | new (mozilla::KnownNotNull, ptr_nsCString()) nsCString; |
2814 | 0 | } |
2815 | 0 | (*(ptr_nsCString())) = std::move(aRhs); |
2816 | 0 | mType = TnsCString; |
2817 | 0 | return (*(this)); |
2818 | 0 | } |
2819 | | |
2820 | | auto PrefValue::operator=(const int32_t& aRhs) -> PrefValue& |
2821 | 0 | { |
2822 | 0 | if (MaybeDestroy(Tint32_t)) { |
2823 | 0 | new (mozilla::KnownNotNull, ptr_int32_t()) int32_t; |
2824 | 0 | } |
2825 | 0 | (*(ptr_int32_t())) = aRhs; |
2826 | 0 | mType = Tint32_t; |
2827 | 0 | return (*(this)); |
2828 | 0 | } |
2829 | | |
2830 | | auto PrefValue::operator=(int32_t&& aRhs) -> PrefValue& |
2831 | 0 | { |
2832 | 0 | if (MaybeDestroy(Tint32_t)) { |
2833 | 0 | new (mozilla::KnownNotNull, ptr_int32_t()) int32_t; |
2834 | 0 | } |
2835 | 0 | (*(ptr_int32_t())) = std::move(aRhs); |
2836 | 0 | mType = Tint32_t; |
2837 | 0 | return (*(this)); |
2838 | 0 | } |
2839 | | |
2840 | | auto PrefValue::operator=(const bool& aRhs) -> PrefValue& |
2841 | 0 | { |
2842 | 0 | if (MaybeDestroy(Tbool)) { |
2843 | 0 | new (mozilla::KnownNotNull, ptr_bool()) bool; |
2844 | 0 | } |
2845 | 0 | (*(ptr_bool())) = aRhs; |
2846 | 0 | mType = Tbool; |
2847 | 0 | return (*(this)); |
2848 | 0 | } |
2849 | | |
2850 | | auto PrefValue::operator=(bool&& aRhs) -> PrefValue& |
2851 | 0 | { |
2852 | 0 | if (MaybeDestroy(Tbool)) { |
2853 | 0 | new (mozilla::KnownNotNull, ptr_bool()) bool; |
2854 | 0 | } |
2855 | 0 | (*(ptr_bool())) = std::move(aRhs); |
2856 | 0 | mType = Tbool; |
2857 | 0 | return (*(this)); |
2858 | 0 | } |
2859 | | |
2860 | | auto PrefValue::operator=(const PrefValue& aRhs) -> PrefValue& |
2861 | 0 | { |
2862 | 0 | (aRhs).AssertSanity(); |
2863 | 0 | Type t = (aRhs).type(); |
2864 | 0 | switch (t) { |
2865 | 0 | case TnsCString: |
2866 | 0 | { |
2867 | 0 | if (MaybeDestroy(t)) { |
2868 | 0 | new (mozilla::KnownNotNull, ptr_nsCString()) nsCString; |
2869 | 0 | } |
2870 | 0 | (*(ptr_nsCString())) = (aRhs).get_nsCString(); |
2871 | 0 | break; |
2872 | 0 | } |
2873 | 0 | case Tint32_t: |
2874 | 0 | { |
2875 | 0 | if (MaybeDestroy(t)) { |
2876 | 0 | new (mozilla::KnownNotNull, ptr_int32_t()) int32_t; |
2877 | 0 | } |
2878 | 0 | (*(ptr_int32_t())) = (aRhs).get_int32_t(); |
2879 | 0 | break; |
2880 | 0 | } |
2881 | 0 | case Tbool: |
2882 | 0 | { |
2883 | 0 | if (MaybeDestroy(t)) { |
2884 | 0 | new (mozilla::KnownNotNull, ptr_bool()) bool; |
2885 | 0 | } |
2886 | 0 | (*(ptr_bool())) = (aRhs).get_bool(); |
2887 | 0 | break; |
2888 | 0 | } |
2889 | 0 | case T__None: |
2890 | 0 | { |
2891 | 0 | static_cast<void>(MaybeDestroy(t)); |
2892 | 0 | break; |
2893 | 0 | } |
2894 | 0 | default: |
2895 | 0 | { |
2896 | 0 | mozilla::ipc::LogicError("unreached"); |
2897 | 0 | break; |
2898 | 0 | } |
2899 | 0 | } |
2900 | 0 | mType = t; |
2901 | 0 | return (*(this)); |
2902 | 0 | } |
2903 | | |
2904 | | auto PrefValue::operator=(PrefValue&& aRhs) -> PrefValue& |
2905 | 0 | { |
2906 | 0 | (aRhs).AssertSanity(); |
2907 | 0 | Type t = (aRhs).type(); |
2908 | 0 | switch (t) { |
2909 | 0 | case TnsCString: |
2910 | 0 | { |
2911 | 0 | if (MaybeDestroy(t)) { |
2912 | 0 | new (mozilla::KnownNotNull, ptr_nsCString()) nsCString; |
2913 | 0 | } |
2914 | 0 | (*(ptr_nsCString())) = std::move((aRhs).get_nsCString()); |
2915 | 0 | static_cast<void>((aRhs).MaybeDestroy(T__None)); |
2916 | 0 | break; |
2917 | 0 | } |
2918 | 0 | case Tint32_t: |
2919 | 0 | { |
2920 | 0 | if (MaybeDestroy(t)) { |
2921 | 0 | new (mozilla::KnownNotNull, ptr_int32_t()) int32_t; |
2922 | 0 | } |
2923 | 0 | (*(ptr_int32_t())) = std::move((aRhs).get_int32_t()); |
2924 | 0 | static_cast<void>((aRhs).MaybeDestroy(T__None)); |
2925 | 0 | break; |
2926 | 0 | } |
2927 | 0 | case Tbool: |
2928 | 0 | { |
2929 | 0 | if (MaybeDestroy(t)) { |
2930 | 0 | new (mozilla::KnownNotNull, ptr_bool()) bool; |
2931 | 0 | } |
2932 | 0 | (*(ptr_bool())) = std::move((aRhs).get_bool()); |
2933 | 0 | static_cast<void>((aRhs).MaybeDestroy(T__None)); |
2934 | 0 | break; |
2935 | 0 | } |
2936 | 0 | case T__None: |
2937 | 0 | { |
2938 | 0 | static_cast<void>(MaybeDestroy(t)); |
2939 | 0 | break; |
2940 | 0 | } |
2941 | 0 | default: |
2942 | 0 | { |
2943 | 0 | mozilla::ipc::LogicError("unreached"); |
2944 | 0 | break; |
2945 | 0 | } |
2946 | 0 | } |
2947 | 0 | (aRhs).mType = T__None; |
2948 | 0 | mType = t; |
2949 | 0 | return (*(this)); |
2950 | 0 | } |
2951 | | |
2952 | | auto PrefValue::operator==(const nsCString& aRhs) const -> bool |
2953 | 0 | { |
2954 | 0 | return (get_nsCString()) == (aRhs); |
2955 | 0 | } |
2956 | | |
2957 | | auto PrefValue::operator==(const int32_t& aRhs) const -> bool |
2958 | 0 | { |
2959 | 0 | return (get_int32_t()) == (aRhs); |
2960 | 0 | } |
2961 | | |
2962 | | auto PrefValue::operator==(const bool& aRhs) const -> bool |
2963 | 0 | { |
2964 | 0 | return (get_bool()) == (aRhs); |
2965 | 0 | } |
2966 | | |
2967 | | auto PrefValue::operator==(const PrefValue& aRhs) const -> bool |
2968 | 0 | { |
2969 | 0 | if ((type()) != ((aRhs).type())) { |
2970 | 0 | return false; |
2971 | 0 | } |
2972 | 0 | |
2973 | 0 | switch (type()) { |
2974 | 0 | case TnsCString: |
2975 | 0 | { |
2976 | 0 | return (get_nsCString()) == ((aRhs).get_nsCString()); |
2977 | 0 | } |
2978 | 0 | case Tint32_t: |
2979 | 0 | { |
2980 | 0 | return (get_int32_t()) == ((aRhs).get_int32_t()); |
2981 | 0 | } |
2982 | 0 | case Tbool: |
2983 | 0 | { |
2984 | 0 | return (get_bool()) == ((aRhs).get_bool()); |
2985 | 0 | } |
2986 | 0 | default: |
2987 | 0 | { |
2988 | 0 | mozilla::ipc::LogicError("unreached"); |
2989 | 0 | return false; |
2990 | 0 | } |
2991 | 0 | } |
2992 | 0 | } |
2993 | | |
2994 | | auto PrefValue::get(nsCString* aOutValue) const -> void |
2995 | 0 | { |
2996 | 0 | (*(aOutValue)) = get_nsCString(); |
2997 | 0 | } |
2998 | | |
2999 | | auto PrefValue::get(int32_t* aOutValue) const -> void |
3000 | 0 | { |
3001 | 0 | (*(aOutValue)) = get_int32_t(); |
3002 | 0 | } |
3003 | | |
3004 | | auto PrefValue::get(bool* aOutValue) const -> void |
3005 | 0 | { |
3006 | 0 | (*(aOutValue)) = get_bool(); |
3007 | 0 | } |
3008 | | |
3009 | | } // namespace dom |
3010 | | } // namespace mozilla |
3011 | | |
3012 | | namespace mozilla { |
3013 | | namespace ipc { |
3014 | | auto IPDLParamTraits<mozilla::dom::PrefValue>::Write( |
3015 | | IPC::Message* aMsg, |
3016 | | mozilla::ipc::IProtocol* aActor, |
3017 | | const paramType& aVar) -> void |
3018 | | { |
3019 | | typedef mozilla::dom::PrefValue union__; |
3020 | | int type; |
3021 | | type = (aVar).type(); |
3022 | | WriteIPDLParam(aMsg, aActor, type); |
3023 | | // Sentinel = 'PrefValue' |
3024 | | (aMsg)->WriteSentinel(4174929935); |
3025 | | |
3026 | | switch (type) { |
3027 | | case union__::TnsCString: |
3028 | | { |
3029 | | WriteIPDLParam(aMsg, aActor, (aVar).get_nsCString()); |
3030 | | // Sentinel = 'TnsCString' |
3031 | | (aMsg)->WriteSentinel(2427411293); |
3032 | | return; |
3033 | | } |
3034 | | case union__::Tint32_t: |
3035 | | { |
3036 | | WriteIPDLParam(aMsg, aActor, (aVar).get_int32_t()); |
3037 | | // Sentinel = 'Tint32_t' |
3038 | | (aMsg)->WriteSentinel(4219052577); |
3039 | | return; |
3040 | | } |
3041 | | case union__::Tbool: |
3042 | | { |
3043 | | WriteIPDLParam(aMsg, aActor, (aVar).get_bool()); |
3044 | | // Sentinel = 'Tbool' |
3045 | | (aMsg)->WriteSentinel(1958350201); |
3046 | | return; |
3047 | | } |
3048 | | default: |
3049 | | { |
3050 | | (aActor)->FatalError("unknown union type"); |
3051 | | return; |
3052 | | } |
3053 | | } |
3054 | | } |
3055 | | |
3056 | | auto IPDLParamTraits<mozilla::dom::PrefValue>::Read( |
3057 | | const IPC::Message* aMsg, |
3058 | | PickleIterator* aIter, |
3059 | | mozilla::ipc::IProtocol* aActor, |
3060 | | paramType* aVar) -> bool |
3061 | 0 | { |
3062 | 0 | typedef mozilla::dom::PrefValue union__; |
3063 | 0 | int type; |
3064 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&(type)))))) { |
3065 | 0 | (aActor)->FatalError("Error deserializing type of union PrefValue"); |
3066 | 0 | return false; |
3067 | 0 | } |
3068 | 0 | // Sentinel = 'PrefValue' |
3069 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 4174929935)))) { |
3070 | 0 | mozilla::ipc::SentinelReadError("Error deserializing type of union PrefValue"); |
3071 | 0 | return false; |
3072 | 0 | } |
3073 | 0 | |
3074 | 0 | switch (type) { |
3075 | 0 | case union__::TnsCString: |
3076 | 0 | { |
3077 | 0 | nsCString tmp = nsCString(); |
3078 | 0 | (*(aVar)) = tmp; |
3079 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->get_nsCString())))))) { |
3080 | 0 | (aActor)->FatalError("Error deserializing variant TnsCString of union PrefValue"); |
3081 | 0 | return false; |
3082 | 0 | } |
3083 | 0 | // Sentinel = 'TnsCString' |
3084 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 2427411293)))) { |
3085 | 0 | mozilla::ipc::SentinelReadError("Error deserializing variant TnsCString of union PrefValue"); |
3086 | 0 | return false; |
3087 | 0 | } |
3088 | 0 | return true; |
3089 | 0 | } |
3090 | 0 | case union__::Tint32_t: |
3091 | 0 | { |
3092 | 0 | int32_t tmp = int32_t(); |
3093 | 0 | (*(aVar)) = tmp; |
3094 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->get_int32_t())))))) { |
3095 | 0 | (aActor)->FatalError("Error deserializing variant Tint32_t of union PrefValue"); |
3096 | 0 | return false; |
3097 | 0 | } |
3098 | 0 | // Sentinel = 'Tint32_t' |
3099 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 4219052577)))) { |
3100 | 0 | mozilla::ipc::SentinelReadError("Error deserializing variant Tint32_t of union PrefValue"); |
3101 | 0 | return false; |
3102 | 0 | } |
3103 | 0 | return true; |
3104 | 0 | } |
3105 | 0 | case union__::Tbool: |
3106 | 0 | { |
3107 | 0 | bool tmp = bool(); |
3108 | 0 | (*(aVar)) = tmp; |
3109 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->get_bool())))))) { |
3110 | 0 | (aActor)->FatalError("Error deserializing variant Tbool of union PrefValue"); |
3111 | 0 | return false; |
3112 | 0 | } |
3113 | 0 | // Sentinel = 'Tbool' |
3114 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 1958350201)))) { |
3115 | 0 | mozilla::ipc::SentinelReadError("Error deserializing variant Tbool of union PrefValue"); |
3116 | 0 | return false; |
3117 | 0 | } |
3118 | 0 | return true; |
3119 | 0 | } |
3120 | 0 | default: |
3121 | 0 | { |
3122 | 0 | (aActor)->FatalError("unknown union type"); |
3123 | 0 | return false; |
3124 | 0 | } |
3125 | 0 | } |
3126 | 0 | } |
3127 | | |
3128 | | } // namespace ipc |
3129 | | } // namespace mozilla |
3130 | | |
3131 | | //----------------------------------------------------------------------------- |
3132 | | // Method definitions for the IPDL type |union MaybePrefValue| |
3133 | | // |
3134 | | namespace mozilla { |
3135 | | namespace dom { |
3136 | | auto MaybePrefValue::MaybeDestroy(Type aNewType) -> bool |
3137 | 0 | { |
3138 | 0 | if ((mType) == (T__None)) { |
3139 | 0 | return true; |
3140 | 0 | } |
3141 | 0 | if ((mType) == (aNewType)) { |
3142 | 0 | return false; |
3143 | 0 | } |
3144 | 0 | switch (mType) { |
3145 | 0 | case TPrefValue: |
3146 | 0 | { |
3147 | 0 | (ptr_PrefValue())->~PrefValue__tdef(); |
3148 | 0 | break; |
3149 | 0 | } |
3150 | 0 | case Tnull_t: |
3151 | 0 | { |
3152 | 0 | (ptr_null_t())->~null_t__tdef(); |
3153 | 0 | break; |
3154 | 0 | } |
3155 | 0 | default: |
3156 | 0 | { |
3157 | 0 | mozilla::ipc::LogicError("not reached"); |
3158 | 0 | break; |
3159 | 0 | } |
3160 | 0 | } |
3161 | 0 | return true; |
3162 | 0 | } |
3163 | | |
3164 | | MOZ_IMPLICIT MaybePrefValue::MaybePrefValue(const PrefValue& aOther) |
3165 | 0 | { |
3166 | 0 | new (mozilla::KnownNotNull, ptr_PrefValue()) PrefValue(aOther); |
3167 | 0 | mType = TPrefValue; |
3168 | 0 | } |
3169 | | |
3170 | | MOZ_IMPLICIT MaybePrefValue::MaybePrefValue(PrefValue&& aOther) |
3171 | 0 | { |
3172 | 0 | new (mozilla::KnownNotNull, ptr_PrefValue()) PrefValue(std::move(aOther)); |
3173 | 0 | mType = TPrefValue; |
3174 | 0 | } |
3175 | | |
3176 | | MOZ_IMPLICIT MaybePrefValue::MaybePrefValue(const null_t& aOther) |
3177 | 0 | { |
3178 | 0 | new (mozilla::KnownNotNull, ptr_null_t()) null_t(aOther); |
3179 | 0 | mType = Tnull_t; |
3180 | 0 | } |
3181 | | |
3182 | | MOZ_IMPLICIT MaybePrefValue::MaybePrefValue(null_t&& aOther) |
3183 | 0 | { |
3184 | 0 | new (mozilla::KnownNotNull, ptr_null_t()) null_t(std::move(aOther)); |
3185 | 0 | mType = Tnull_t; |
3186 | 0 | } |
3187 | | |
3188 | | MOZ_IMPLICIT MaybePrefValue::MaybePrefValue(const MaybePrefValue& aOther) |
3189 | 0 | { |
3190 | 0 | (aOther).AssertSanity(); |
3191 | 0 | switch ((aOther).type()) { |
3192 | 0 | case TPrefValue: |
3193 | 0 | { |
3194 | 0 | new (mozilla::KnownNotNull, ptr_PrefValue()) PrefValue((aOther).get_PrefValue()); |
3195 | 0 | break; |
3196 | 0 | } |
3197 | 0 | case Tnull_t: |
3198 | 0 | { |
3199 | 0 | new (mozilla::KnownNotNull, ptr_null_t()) null_t((aOther).get_null_t()); |
3200 | 0 | break; |
3201 | 0 | } |
3202 | 0 | case T__None: |
3203 | 0 | { |
3204 | 0 | break; |
3205 | 0 | } |
3206 | 0 | default: |
3207 | 0 | { |
3208 | 0 | mozilla::ipc::LogicError("unreached"); |
3209 | 0 | return; |
3210 | 0 | } |
3211 | 0 | } |
3212 | 0 | mType = (aOther).type(); |
3213 | 0 | } |
3214 | | |
3215 | | MOZ_IMPLICIT MaybePrefValue::MaybePrefValue(MaybePrefValue&& aOther) |
3216 | 0 | { |
3217 | 0 | (aOther).AssertSanity(); |
3218 | 0 | Type t = (aOther).type(); |
3219 | 0 | switch (t) { |
3220 | 0 | case TPrefValue: |
3221 | 0 | { |
3222 | 0 | new (mozilla::KnownNotNull, ptr_PrefValue()) PrefValue(std::move((aOther).get_PrefValue())); |
3223 | 0 | static_cast<void>((aOther).MaybeDestroy(T__None)); |
3224 | 0 | break; |
3225 | 0 | } |
3226 | 0 | case Tnull_t: |
3227 | 0 | { |
3228 | 0 | new (mozilla::KnownNotNull, ptr_null_t()) null_t(std::move((aOther).get_null_t())); |
3229 | 0 | static_cast<void>((aOther).MaybeDestroy(T__None)); |
3230 | 0 | break; |
3231 | 0 | } |
3232 | 0 | case T__None: |
3233 | 0 | { |
3234 | 0 | break; |
3235 | 0 | } |
3236 | 0 | default: |
3237 | 0 | { |
3238 | 0 | mozilla::ipc::LogicError("unreached"); |
3239 | 0 | return; |
3240 | 0 | } |
3241 | 0 | } |
3242 | 0 | (aOther).mType = T__None; |
3243 | 0 | mType = t; |
3244 | 0 | } |
3245 | | |
3246 | | MaybePrefValue::~MaybePrefValue() |
3247 | 0 | { |
3248 | 0 | static_cast<void>(MaybeDestroy(T__None)); |
3249 | 0 | } |
3250 | | |
3251 | | auto MaybePrefValue::operator=(const PrefValue& aRhs) -> MaybePrefValue& |
3252 | 0 | { |
3253 | 0 | if (MaybeDestroy(TPrefValue)) { |
3254 | 0 | new (mozilla::KnownNotNull, ptr_PrefValue()) PrefValue; |
3255 | 0 | } |
3256 | 0 | (*(ptr_PrefValue())) = aRhs; |
3257 | 0 | mType = TPrefValue; |
3258 | 0 | return (*(this)); |
3259 | 0 | } |
3260 | | |
3261 | | auto MaybePrefValue::operator=(PrefValue&& aRhs) -> MaybePrefValue& |
3262 | 0 | { |
3263 | 0 | if (MaybeDestroy(TPrefValue)) { |
3264 | 0 | new (mozilla::KnownNotNull, ptr_PrefValue()) PrefValue; |
3265 | 0 | } |
3266 | 0 | (*(ptr_PrefValue())) = std::move(aRhs); |
3267 | 0 | mType = TPrefValue; |
3268 | 0 | return (*(this)); |
3269 | 0 | } |
3270 | | |
3271 | | auto MaybePrefValue::operator=(const null_t& aRhs) -> MaybePrefValue& |
3272 | 0 | { |
3273 | 0 | if (MaybeDestroy(Tnull_t)) { |
3274 | 0 | new (mozilla::KnownNotNull, ptr_null_t()) null_t; |
3275 | 0 | } |
3276 | 0 | (*(ptr_null_t())) = aRhs; |
3277 | 0 | mType = Tnull_t; |
3278 | 0 | return (*(this)); |
3279 | 0 | } |
3280 | | |
3281 | | auto MaybePrefValue::operator=(null_t&& aRhs) -> MaybePrefValue& |
3282 | 0 | { |
3283 | 0 | if (MaybeDestroy(Tnull_t)) { |
3284 | 0 | new (mozilla::KnownNotNull, ptr_null_t()) null_t; |
3285 | 0 | } |
3286 | 0 | (*(ptr_null_t())) = std::move(aRhs); |
3287 | 0 | mType = Tnull_t; |
3288 | 0 | return (*(this)); |
3289 | 0 | } |
3290 | | |
3291 | | auto MaybePrefValue::operator=(const MaybePrefValue& aRhs) -> MaybePrefValue& |
3292 | 0 | { |
3293 | 0 | (aRhs).AssertSanity(); |
3294 | 0 | Type t = (aRhs).type(); |
3295 | 0 | switch (t) { |
3296 | 0 | case TPrefValue: |
3297 | 0 | { |
3298 | 0 | if (MaybeDestroy(t)) { |
3299 | 0 | new (mozilla::KnownNotNull, ptr_PrefValue()) PrefValue; |
3300 | 0 | } |
3301 | 0 | (*(ptr_PrefValue())) = (aRhs).get_PrefValue(); |
3302 | 0 | break; |
3303 | 0 | } |
3304 | 0 | case Tnull_t: |
3305 | 0 | { |
3306 | 0 | if (MaybeDestroy(t)) { |
3307 | 0 | new (mozilla::KnownNotNull, ptr_null_t()) null_t; |
3308 | 0 | } |
3309 | 0 | (*(ptr_null_t())) = (aRhs).get_null_t(); |
3310 | 0 | break; |
3311 | 0 | } |
3312 | 0 | case T__None: |
3313 | 0 | { |
3314 | 0 | static_cast<void>(MaybeDestroy(t)); |
3315 | 0 | break; |
3316 | 0 | } |
3317 | 0 | default: |
3318 | 0 | { |
3319 | 0 | mozilla::ipc::LogicError("unreached"); |
3320 | 0 | break; |
3321 | 0 | } |
3322 | 0 | } |
3323 | 0 | mType = t; |
3324 | 0 | return (*(this)); |
3325 | 0 | } |
3326 | | |
3327 | | auto MaybePrefValue::operator=(MaybePrefValue&& aRhs) -> MaybePrefValue& |
3328 | 0 | { |
3329 | 0 | (aRhs).AssertSanity(); |
3330 | 0 | Type t = (aRhs).type(); |
3331 | 0 | switch (t) { |
3332 | 0 | case TPrefValue: |
3333 | 0 | { |
3334 | 0 | if (MaybeDestroy(t)) { |
3335 | 0 | new (mozilla::KnownNotNull, ptr_PrefValue()) PrefValue; |
3336 | 0 | } |
3337 | 0 | (*(ptr_PrefValue())) = std::move((aRhs).get_PrefValue()); |
3338 | 0 | static_cast<void>((aRhs).MaybeDestroy(T__None)); |
3339 | 0 | break; |
3340 | 0 | } |
3341 | 0 | case Tnull_t: |
3342 | 0 | { |
3343 | 0 | if (MaybeDestroy(t)) { |
3344 | 0 | new (mozilla::KnownNotNull, ptr_null_t()) null_t; |
3345 | 0 | } |
3346 | 0 | (*(ptr_null_t())) = std::move((aRhs).get_null_t()); |
3347 | 0 | static_cast<void>((aRhs).MaybeDestroy(T__None)); |
3348 | 0 | break; |
3349 | 0 | } |
3350 | 0 | case T__None: |
3351 | 0 | { |
3352 | 0 | static_cast<void>(MaybeDestroy(t)); |
3353 | 0 | break; |
3354 | 0 | } |
3355 | 0 | default: |
3356 | 0 | { |
3357 | 0 | mozilla::ipc::LogicError("unreached"); |
3358 | 0 | break; |
3359 | 0 | } |
3360 | 0 | } |
3361 | 0 | (aRhs).mType = T__None; |
3362 | 0 | mType = t; |
3363 | 0 | return (*(this)); |
3364 | 0 | } |
3365 | | |
3366 | | auto MaybePrefValue::operator==(const PrefValue& aRhs) const -> bool |
3367 | 0 | { |
3368 | 0 | return (get_PrefValue()) == (aRhs); |
3369 | 0 | } |
3370 | | |
3371 | | auto MaybePrefValue::operator==(const null_t& aRhs) const -> bool |
3372 | 0 | { |
3373 | 0 | return (get_null_t()) == (aRhs); |
3374 | 0 | } |
3375 | | |
3376 | | auto MaybePrefValue::operator==(const MaybePrefValue& aRhs) const -> bool |
3377 | 0 | { |
3378 | 0 | if ((type()) != ((aRhs).type())) { |
3379 | 0 | return false; |
3380 | 0 | } |
3381 | 0 | |
3382 | 0 | switch (type()) { |
3383 | 0 | case TPrefValue: |
3384 | 0 | { |
3385 | 0 | return (get_PrefValue()) == ((aRhs).get_PrefValue()); |
3386 | 0 | } |
3387 | 0 | case Tnull_t: |
3388 | 0 | { |
3389 | 0 | return (get_null_t()) == ((aRhs).get_null_t()); |
3390 | 0 | } |
3391 | 0 | default: |
3392 | 0 | { |
3393 | 0 | mozilla::ipc::LogicError("unreached"); |
3394 | 0 | return false; |
3395 | 0 | } |
3396 | 0 | } |
3397 | 0 | } |
3398 | | |
3399 | | auto MaybePrefValue::get(PrefValue* aOutValue) const -> void |
3400 | 0 | { |
3401 | 0 | (*(aOutValue)) = get_PrefValue(); |
3402 | 0 | } |
3403 | | |
3404 | | auto MaybePrefValue::get(null_t* aOutValue) const -> void |
3405 | 0 | { |
3406 | 0 | (*(aOutValue)) = get_null_t(); |
3407 | 0 | } |
3408 | | |
3409 | | } // namespace dom |
3410 | | } // namespace mozilla |
3411 | | |
3412 | | namespace mozilla { |
3413 | | namespace ipc { |
3414 | | auto IPDLParamTraits<mozilla::dom::MaybePrefValue>::Write( |
3415 | | IPC::Message* aMsg, |
3416 | | mozilla::ipc::IProtocol* aActor, |
3417 | | const paramType& aVar) -> void |
3418 | | { |
3419 | | typedef mozilla::dom::MaybePrefValue union__; |
3420 | | int type; |
3421 | | type = (aVar).type(); |
3422 | | WriteIPDLParam(aMsg, aActor, type); |
3423 | | // Sentinel = 'MaybePrefValue' |
3424 | | (aMsg)->WriteSentinel(1713533748); |
3425 | | |
3426 | | switch (type) { |
3427 | | case union__::TPrefValue: |
3428 | | { |
3429 | | WriteIPDLParam(aMsg, aActor, (aVar).get_PrefValue()); |
3430 | | // Sentinel = 'TPrefValue' |
3431 | | (aMsg)->WriteSentinel(1238906536); |
3432 | | return; |
3433 | | } |
3434 | | case union__::Tnull_t: |
3435 | | { |
3436 | | WriteIPDLParam(aMsg, aActor, (aVar).get_null_t()); |
3437 | | // Sentinel = 'Tnull_t' |
3438 | | (aMsg)->WriteSentinel(3731137201); |
3439 | | return; |
3440 | | } |
3441 | | default: |
3442 | | { |
3443 | | (aActor)->FatalError("unknown union type"); |
3444 | | return; |
3445 | | } |
3446 | | } |
3447 | | } |
3448 | | |
3449 | | auto IPDLParamTraits<mozilla::dom::MaybePrefValue>::Read( |
3450 | | const IPC::Message* aMsg, |
3451 | | PickleIterator* aIter, |
3452 | | mozilla::ipc::IProtocol* aActor, |
3453 | | paramType* aVar) -> bool |
3454 | 0 | { |
3455 | 0 | typedef mozilla::dom::MaybePrefValue union__; |
3456 | 0 | int type; |
3457 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&(type)))))) { |
3458 | 0 | (aActor)->FatalError("Error deserializing type of union MaybePrefValue"); |
3459 | 0 | return false; |
3460 | 0 | } |
3461 | 0 | // Sentinel = 'MaybePrefValue' |
3462 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 1713533748)))) { |
3463 | 0 | mozilla::ipc::SentinelReadError("Error deserializing type of union MaybePrefValue"); |
3464 | 0 | return false; |
3465 | 0 | } |
3466 | 0 | |
3467 | 0 | switch (type) { |
3468 | 0 | case union__::TPrefValue: |
3469 | 0 | { |
3470 | 0 | mozilla::dom::PrefValue tmp = mozilla::dom::PrefValue(); |
3471 | 0 | (*(aVar)) = tmp; |
3472 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->get_PrefValue())))))) { |
3473 | 0 | (aActor)->FatalError("Error deserializing variant TPrefValue of union MaybePrefValue"); |
3474 | 0 | return false; |
3475 | 0 | } |
3476 | 0 | // Sentinel = 'TPrefValue' |
3477 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 1238906536)))) { |
3478 | 0 | mozilla::ipc::SentinelReadError("Error deserializing variant TPrefValue of union MaybePrefValue"); |
3479 | 0 | return false; |
3480 | 0 | } |
3481 | 0 | return true; |
3482 | 0 | } |
3483 | 0 | case union__::Tnull_t: |
3484 | 0 | { |
3485 | 0 | mozilla::null_t tmp = mozilla::null_t(); |
3486 | 0 | (*(aVar)) = tmp; |
3487 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->get_null_t())))))) { |
3488 | 0 | (aActor)->FatalError("Error deserializing variant Tnull_t of union MaybePrefValue"); |
3489 | 0 | return false; |
3490 | 0 | } |
3491 | 0 | // Sentinel = 'Tnull_t' |
3492 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 3731137201)))) { |
3493 | 0 | mozilla::ipc::SentinelReadError("Error deserializing variant Tnull_t of union MaybePrefValue"); |
3494 | 0 | return false; |
3495 | 0 | } |
3496 | 0 | return true; |
3497 | 0 | } |
3498 | 0 | default: |
3499 | 0 | { |
3500 | 0 | (aActor)->FatalError("unknown union type"); |
3501 | 0 | return false; |
3502 | 0 | } |
3503 | 0 | } |
3504 | 0 | } |
3505 | | |
3506 | | } // namespace ipc |
3507 | | } // namespace mozilla |
3508 | | |
3509 | | //----------------------------------------------------------------------------- |
3510 | | // Method definitions for the IPDL type |struct Pref| |
3511 | | // |
3512 | | namespace mozilla { |
3513 | | namespace dom { |
3514 | | auto Pref::operator==(const Pref& _o) const -> bool |
3515 | 0 | { |
3516 | 0 | if ((!((name()) == ((_o).name())))) { |
3517 | 0 | return false; |
3518 | 0 | } |
3519 | 0 | if ((!((isLocked()) == ((_o).isLocked())))) { |
3520 | 0 | return false; |
3521 | 0 | } |
3522 | 0 | if ((!((defaultValue()) == ((_o).defaultValue())))) { |
3523 | 0 | return false; |
3524 | 0 | } |
3525 | 0 | if ((!((userValue()) == ((_o).userValue())))) { |
3526 | 0 | return false; |
3527 | 0 | } |
3528 | 0 | return true; |
3529 | 0 | } |
3530 | | |
3531 | | auto Pref::operator!=(const Pref& _o) const -> bool |
3532 | 0 | { |
3533 | 0 | return (!(operator==(_o))); |
3534 | 0 | } |
3535 | | |
3536 | | } // namespace dom |
3537 | | } // namespace mozilla |
3538 | | |
3539 | | namespace mozilla { |
3540 | | namespace ipc { |
3541 | | auto IPDLParamTraits<mozilla::dom::Pref>::Write( |
3542 | | IPC::Message* aMsg, |
3543 | | mozilla::ipc::IProtocol* aActor, |
3544 | | const paramType& aVar) -> void |
3545 | 0 | { |
3546 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).name()); |
3547 | 0 | // Sentinel = 'name' |
3548 | 0 | (aMsg)->WriteSentinel(15034981); |
3549 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).isLocked()); |
3550 | 0 | // Sentinel = 'isLocked' |
3551 | 0 | (aMsg)->WriteSentinel(3478708402); |
3552 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).defaultValue()); |
3553 | 0 | // Sentinel = 'defaultValue' |
3554 | 0 | (aMsg)->WriteSentinel(1929752362); |
3555 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).userValue()); |
3556 | 0 | // Sentinel = 'userValue' |
3557 | 0 | (aMsg)->WriteSentinel(727902553); |
3558 | 0 | } |
3559 | | |
3560 | | auto IPDLParamTraits<mozilla::dom::Pref>::Read( |
3561 | | const IPC::Message* aMsg, |
3562 | | PickleIterator* aIter, |
3563 | | mozilla::ipc::IProtocol* aActor, |
3564 | | paramType* aVar) -> bool |
3565 | 0 | { |
3566 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->name())))))) { |
3567 | 0 | (aActor)->FatalError("Error deserializing 'name' (nsCString) member of 'Pref'"); |
3568 | 0 | return false; |
3569 | 0 | } |
3570 | 0 | // Sentinel = 'name' |
3571 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 15034981)))) { |
3572 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'name' (nsCString) member of 'Pref'"); |
3573 | 0 | return false; |
3574 | 0 | } |
3575 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->isLocked())))))) { |
3576 | 0 | (aActor)->FatalError("Error deserializing 'isLocked' (bool) member of 'Pref'"); |
3577 | 0 | return false; |
3578 | 0 | } |
3579 | 0 | // Sentinel = 'isLocked' |
3580 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 3478708402)))) { |
3581 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'isLocked' (bool) member of 'Pref'"); |
3582 | 0 | return false; |
3583 | 0 | } |
3584 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->defaultValue())))))) { |
3585 | 0 | (aActor)->FatalError("Error deserializing 'defaultValue' (MaybePrefValue) member of 'Pref'"); |
3586 | 0 | return false; |
3587 | 0 | } |
3588 | 0 | // Sentinel = 'defaultValue' |
3589 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 1929752362)))) { |
3590 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'defaultValue' (MaybePrefValue) member of 'Pref'"); |
3591 | 0 | return false; |
3592 | 0 | } |
3593 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->userValue())))))) { |
3594 | 0 | (aActor)->FatalError("Error deserializing 'userValue' (MaybePrefValue) member of 'Pref'"); |
3595 | 0 | return false; |
3596 | 0 | } |
3597 | 0 | // Sentinel = 'userValue' |
3598 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 727902553)))) { |
3599 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'userValue' (MaybePrefValue) member of 'Pref'"); |
3600 | 0 | return false; |
3601 | 0 | } |
3602 | 0 | return true; |
3603 | 0 | } |
3604 | | |
3605 | | } // namespace ipc |
3606 | | } // namespace mozilla |
3607 | | |
3608 | | //----------------------------------------------------------------------------- |
3609 | | // Method definitions for the IPDL type |struct DataStorageItem| |
3610 | | // |
3611 | | namespace mozilla { |
3612 | | namespace dom { |
3613 | | auto DataStorageItem::operator==(const DataStorageItem& _o) const -> bool |
3614 | 0 | { |
3615 | 0 | if ((!((key()) == ((_o).key())))) { |
3616 | 0 | return false; |
3617 | 0 | } |
3618 | 0 | if ((!((value()) == ((_o).value())))) { |
3619 | 0 | return false; |
3620 | 0 | } |
3621 | 0 | if ((!((type()) == ((_o).type())))) { |
3622 | 0 | return false; |
3623 | 0 | } |
3624 | 0 | return true; |
3625 | 0 | } |
3626 | | |
3627 | | auto DataStorageItem::operator!=(const DataStorageItem& _o) const -> bool |
3628 | 0 | { |
3629 | 0 | return (!(operator==(_o))); |
3630 | 0 | } |
3631 | | |
3632 | | } // namespace dom |
3633 | | } // namespace mozilla |
3634 | | |
3635 | | namespace mozilla { |
3636 | | namespace ipc { |
3637 | | auto IPDLParamTraits<mozilla::dom::DataStorageItem>::Write( |
3638 | | IPC::Message* aMsg, |
3639 | | mozilla::ipc::IProtocol* aActor, |
3640 | | const paramType& aVar) -> void |
3641 | 0 | { |
3642 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).key()); |
3643 | 0 | // Sentinel = 'key' |
3644 | 0 | (aMsg)->WriteSentinel(35142870); |
3645 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).value()); |
3646 | 0 | // Sentinel = 'value' |
3647 | 0 | (aMsg)->WriteSentinel(3456818542); |
3648 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).type()); |
3649 | 0 | // Sentinel = 'type' |
3650 | 0 | (aMsg)->WriteSentinel(2982068540); |
3651 | 0 | } |
3652 | | |
3653 | | auto IPDLParamTraits<mozilla::dom::DataStorageItem>::Read( |
3654 | | const IPC::Message* aMsg, |
3655 | | PickleIterator* aIter, |
3656 | | mozilla::ipc::IProtocol* aActor, |
3657 | | paramType* aVar) -> bool |
3658 | 0 | { |
3659 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->key())))))) { |
3660 | 0 | (aActor)->FatalError("Error deserializing 'key' (nsCString) member of 'DataStorageItem'"); |
3661 | 0 | return false; |
3662 | 0 | } |
3663 | 0 | // Sentinel = 'key' |
3664 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 35142870)))) { |
3665 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'key' (nsCString) member of 'DataStorageItem'"); |
3666 | 0 | return false; |
3667 | 0 | } |
3668 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->value())))))) { |
3669 | 0 | (aActor)->FatalError("Error deserializing 'value' (nsCString) member of 'DataStorageItem'"); |
3670 | 0 | return false; |
3671 | 0 | } |
3672 | 0 | // Sentinel = 'value' |
3673 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 3456818542)))) { |
3674 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'value' (nsCString) member of 'DataStorageItem'"); |
3675 | 0 | return false; |
3676 | 0 | } |
3677 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->type())))))) { |
3678 | 0 | (aActor)->FatalError("Error deserializing 'type' (DataStorageType) member of 'DataStorageItem'"); |
3679 | 0 | return false; |
3680 | 0 | } |
3681 | 0 | // Sentinel = 'type' |
3682 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 2982068540)))) { |
3683 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'type' (DataStorageType) member of 'DataStorageItem'"); |
3684 | 0 | return false; |
3685 | 0 | } |
3686 | 0 | return true; |
3687 | 0 | } |
3688 | | |
3689 | | } // namespace ipc |
3690 | | } // namespace mozilla |
3691 | | |
3692 | | //----------------------------------------------------------------------------- |
3693 | | // Method definitions for the IPDL type |struct DataStorageEntry| |
3694 | | // |
3695 | | namespace mozilla { |
3696 | | namespace dom { |
3697 | | auto DataStorageEntry::operator==(const DataStorageEntry& _o) const -> bool |
3698 | 0 | { |
3699 | 0 | if ((!((items()) == ((_o).items())))) { |
3700 | 0 | return false; |
3701 | 0 | } |
3702 | 0 | if ((!((filename()) == ((_o).filename())))) { |
3703 | 0 | return false; |
3704 | 0 | } |
3705 | 0 | return true; |
3706 | 0 | } |
3707 | | |
3708 | | auto DataStorageEntry::operator!=(const DataStorageEntry& _o) const -> bool |
3709 | 0 | { |
3710 | 0 | return (!(operator==(_o))); |
3711 | 0 | } |
3712 | | |
3713 | | } // namespace dom |
3714 | | } // namespace mozilla |
3715 | | |
3716 | | namespace mozilla { |
3717 | | namespace ipc { |
3718 | | auto IPDLParamTraits<mozilla::dom::DataStorageEntry>::Write( |
3719 | | IPC::Message* aMsg, |
3720 | | mozilla::ipc::IProtocol* aActor, |
3721 | | const paramType& aVar) -> void |
3722 | 0 | { |
3723 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).items()); |
3724 | 0 | // Sentinel = 'items' |
3725 | 0 | (aMsg)->WriteSentinel(3618840809); |
3726 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).filename()); |
3727 | 0 | // Sentinel = 'filename' |
3728 | 0 | (aMsg)->WriteSentinel(1198638255); |
3729 | 0 | } |
3730 | | |
3731 | | auto IPDLParamTraits<mozilla::dom::DataStorageEntry>::Read( |
3732 | | const IPC::Message* aMsg, |
3733 | | PickleIterator* aIter, |
3734 | | mozilla::ipc::IProtocol* aActor, |
3735 | | paramType* aVar) -> bool |
3736 | 0 | { |
3737 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->items())))))) { |
3738 | 0 | (aActor)->FatalError("Error deserializing 'items' (DataStorageItem[]) member of 'DataStorageEntry'"); |
3739 | 0 | return false; |
3740 | 0 | } |
3741 | 0 | // Sentinel = 'items' |
3742 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 3618840809)))) { |
3743 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'items' (DataStorageItem[]) member of 'DataStorageEntry'"); |
3744 | 0 | return false; |
3745 | 0 | } |
3746 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->filename())))))) { |
3747 | 0 | (aActor)->FatalError("Error deserializing 'filename' (nsString) member of 'DataStorageEntry'"); |
3748 | 0 | return false; |
3749 | 0 | } |
3750 | 0 | // Sentinel = 'filename' |
3751 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 1198638255)))) { |
3752 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'filename' (nsString) member of 'DataStorageEntry'"); |
3753 | 0 | return false; |
3754 | 0 | } |
3755 | 0 | return true; |
3756 | 0 | } |
3757 | | |
3758 | | } // namespace ipc |
3759 | | } // namespace mozilla |
3760 | | |
3761 | | //----------------------------------------------------------------------------- |
3762 | | // Method definitions for the IPDL type |struct ClipboardCapabilities| |
3763 | | // |
3764 | | namespace mozilla { |
3765 | | namespace dom { |
3766 | | auto ClipboardCapabilities::operator==(const ClipboardCapabilities& _o) const -> bool |
3767 | 0 | { |
3768 | 0 | if ((!((supportsSelectionClipboard()) == ((_o).supportsSelectionClipboard())))) { |
3769 | 0 | return false; |
3770 | 0 | } |
3771 | 0 | if ((!((supportsFindClipboard()) == ((_o).supportsFindClipboard())))) { |
3772 | 0 | return false; |
3773 | 0 | } |
3774 | 0 | return true; |
3775 | 0 | } |
3776 | | |
3777 | | auto ClipboardCapabilities::operator!=(const ClipboardCapabilities& _o) const -> bool |
3778 | 0 | { |
3779 | 0 | return (!(operator==(_o))); |
3780 | 0 | } |
3781 | | |
3782 | | } // namespace dom |
3783 | | } // namespace mozilla |
3784 | | |
3785 | | namespace mozilla { |
3786 | | namespace ipc { |
3787 | | auto IPDLParamTraits<mozilla::dom::ClipboardCapabilities>::Write( |
3788 | | IPC::Message* aMsg, |
3789 | | mozilla::ipc::IProtocol* aActor, |
3790 | | const paramType& aVar) -> void |
3791 | 0 | { |
3792 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).supportsSelectionClipboard()); |
3793 | 0 | // Sentinel = 'supportsSelectionClipboard' |
3794 | 0 | (aMsg)->WriteSentinel(345073246); |
3795 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).supportsFindClipboard()); |
3796 | 0 | // Sentinel = 'supportsFindClipboard' |
3797 | 0 | (aMsg)->WriteSentinel(4065686456); |
3798 | 0 | } |
3799 | | |
3800 | | auto IPDLParamTraits<mozilla::dom::ClipboardCapabilities>::Read( |
3801 | | const IPC::Message* aMsg, |
3802 | | PickleIterator* aIter, |
3803 | | mozilla::ipc::IProtocol* aActor, |
3804 | | paramType* aVar) -> bool |
3805 | 0 | { |
3806 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->supportsSelectionClipboard())))))) { |
3807 | 0 | (aActor)->FatalError("Error deserializing 'supportsSelectionClipboard' (bool) member of 'ClipboardCapabilities'"); |
3808 | 0 | return false; |
3809 | 0 | } |
3810 | 0 | // Sentinel = 'supportsSelectionClipboard' |
3811 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 345073246)))) { |
3812 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'supportsSelectionClipboard' (bool) member of 'ClipboardCapabilities'"); |
3813 | 0 | return false; |
3814 | 0 | } |
3815 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->supportsFindClipboard())))))) { |
3816 | 0 | (aActor)->FatalError("Error deserializing 'supportsFindClipboard' (bool) member of 'ClipboardCapabilities'"); |
3817 | 0 | return false; |
3818 | 0 | } |
3819 | 0 | // Sentinel = 'supportsFindClipboard' |
3820 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 4065686456)))) { |
3821 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'supportsFindClipboard' (bool) member of 'ClipboardCapabilities'"); |
3822 | 0 | return false; |
3823 | 0 | } |
3824 | 0 | return true; |
3825 | 0 | } |
3826 | | |
3827 | | } // namespace ipc |
3828 | | } // namespace mozilla |
3829 | | |
3830 | | //----------------------------------------------------------------------------- |
3831 | | // Method definitions for the IPDL type |union FileDescOrError| |
3832 | | // |
3833 | | namespace mozilla { |
3834 | | namespace dom { |
3835 | | auto FileDescOrError::MaybeDestroy(Type aNewType) -> bool |
3836 | 0 | { |
3837 | 0 | if ((mType) == (T__None)) { |
3838 | 0 | return true; |
3839 | 0 | } |
3840 | 0 | if ((mType) == (aNewType)) { |
3841 | 0 | return false; |
3842 | 0 | } |
3843 | 0 | switch (mType) { |
3844 | 0 | case TFileDescriptor: |
3845 | 0 | { |
3846 | 0 | (ptr_FileDescriptor())->~FileDescriptor__tdef(); |
3847 | 0 | break; |
3848 | 0 | } |
3849 | 0 | case Tnsresult: |
3850 | 0 | { |
3851 | 0 | (ptr_nsresult())->~nsresult__tdef(); |
3852 | 0 | break; |
3853 | 0 | } |
3854 | 0 | default: |
3855 | 0 | { |
3856 | 0 | mozilla::ipc::LogicError("not reached"); |
3857 | 0 | break; |
3858 | 0 | } |
3859 | 0 | } |
3860 | 0 | return true; |
3861 | 0 | } |
3862 | | |
3863 | | MOZ_IMPLICIT FileDescOrError::FileDescOrError(const FileDescriptor& aOther) |
3864 | 0 | { |
3865 | 0 | new (mozilla::KnownNotNull, ptr_FileDescriptor()) FileDescriptor(aOther); |
3866 | 0 | mType = TFileDescriptor; |
3867 | 0 | } |
3868 | | |
3869 | | MOZ_IMPLICIT FileDescOrError::FileDescOrError(FileDescriptor&& aOther) |
3870 | 0 | { |
3871 | 0 | new (mozilla::KnownNotNull, ptr_FileDescriptor()) FileDescriptor(std::move(aOther)); |
3872 | 0 | mType = TFileDescriptor; |
3873 | 0 | } |
3874 | | |
3875 | | MOZ_IMPLICIT FileDescOrError::FileDescOrError(const nsresult& aOther) |
3876 | 0 | { |
3877 | 0 | new (mozilla::KnownNotNull, ptr_nsresult()) nsresult(aOther); |
3878 | 0 | mType = Tnsresult; |
3879 | 0 | } |
3880 | | |
3881 | | MOZ_IMPLICIT FileDescOrError::FileDescOrError(nsresult&& aOther) |
3882 | 0 | { |
3883 | 0 | new (mozilla::KnownNotNull, ptr_nsresult()) nsresult(std::move(aOther)); |
3884 | 0 | mType = Tnsresult; |
3885 | 0 | } |
3886 | | |
3887 | | MOZ_IMPLICIT FileDescOrError::FileDescOrError(const FileDescOrError& aOther) |
3888 | 0 | { |
3889 | 0 | (aOther).AssertSanity(); |
3890 | 0 | switch ((aOther).type()) { |
3891 | 0 | case TFileDescriptor: |
3892 | 0 | { |
3893 | 0 | new (mozilla::KnownNotNull, ptr_FileDescriptor()) FileDescriptor((aOther).get_FileDescriptor()); |
3894 | 0 | break; |
3895 | 0 | } |
3896 | 0 | case Tnsresult: |
3897 | 0 | { |
3898 | 0 | new (mozilla::KnownNotNull, ptr_nsresult()) nsresult((aOther).get_nsresult()); |
3899 | 0 | break; |
3900 | 0 | } |
3901 | 0 | case T__None: |
3902 | 0 | { |
3903 | 0 | break; |
3904 | 0 | } |
3905 | 0 | default: |
3906 | 0 | { |
3907 | 0 | mozilla::ipc::LogicError("unreached"); |
3908 | 0 | return; |
3909 | 0 | } |
3910 | 0 | } |
3911 | 0 | mType = (aOther).type(); |
3912 | 0 | } |
3913 | | |
3914 | | MOZ_IMPLICIT FileDescOrError::FileDescOrError(FileDescOrError&& aOther) |
3915 | 0 | { |
3916 | 0 | (aOther).AssertSanity(); |
3917 | 0 | Type t = (aOther).type(); |
3918 | 0 | switch (t) { |
3919 | 0 | case TFileDescriptor: |
3920 | 0 | { |
3921 | 0 | new (mozilla::KnownNotNull, ptr_FileDescriptor()) FileDescriptor(std::move((aOther).get_FileDescriptor())); |
3922 | 0 | static_cast<void>((aOther).MaybeDestroy(T__None)); |
3923 | 0 | break; |
3924 | 0 | } |
3925 | 0 | case Tnsresult: |
3926 | 0 | { |
3927 | 0 | new (mozilla::KnownNotNull, ptr_nsresult()) nsresult(std::move((aOther).get_nsresult())); |
3928 | 0 | static_cast<void>((aOther).MaybeDestroy(T__None)); |
3929 | 0 | break; |
3930 | 0 | } |
3931 | 0 | case T__None: |
3932 | 0 | { |
3933 | 0 | break; |
3934 | 0 | } |
3935 | 0 | default: |
3936 | 0 | { |
3937 | 0 | mozilla::ipc::LogicError("unreached"); |
3938 | 0 | return; |
3939 | 0 | } |
3940 | 0 | } |
3941 | 0 | (aOther).mType = T__None; |
3942 | 0 | mType = t; |
3943 | 0 | } |
3944 | | |
3945 | | FileDescOrError::~FileDescOrError() |
3946 | 0 | { |
3947 | 0 | static_cast<void>(MaybeDestroy(T__None)); |
3948 | 0 | } |
3949 | | |
3950 | | auto FileDescOrError::operator=(const FileDescriptor& aRhs) -> FileDescOrError& |
3951 | 0 | { |
3952 | 0 | if (MaybeDestroy(TFileDescriptor)) { |
3953 | 0 | new (mozilla::KnownNotNull, ptr_FileDescriptor()) FileDescriptor; |
3954 | 0 | } |
3955 | 0 | (*(ptr_FileDescriptor())) = aRhs; |
3956 | 0 | mType = TFileDescriptor; |
3957 | 0 | return (*(this)); |
3958 | 0 | } |
3959 | | |
3960 | | auto FileDescOrError::operator=(FileDescriptor&& aRhs) -> FileDescOrError& |
3961 | 0 | { |
3962 | 0 | if (MaybeDestroy(TFileDescriptor)) { |
3963 | 0 | new (mozilla::KnownNotNull, ptr_FileDescriptor()) FileDescriptor; |
3964 | 0 | } |
3965 | 0 | (*(ptr_FileDescriptor())) = std::move(aRhs); |
3966 | 0 | mType = TFileDescriptor; |
3967 | 0 | return (*(this)); |
3968 | 0 | } |
3969 | | |
3970 | | auto FileDescOrError::operator=(const nsresult& aRhs) -> FileDescOrError& |
3971 | 0 | { |
3972 | 0 | if (MaybeDestroy(Tnsresult)) { |
3973 | 0 | new (mozilla::KnownNotNull, ptr_nsresult()) nsresult; |
3974 | 0 | } |
3975 | 0 | (*(ptr_nsresult())) = aRhs; |
3976 | 0 | mType = Tnsresult; |
3977 | 0 | return (*(this)); |
3978 | 0 | } |
3979 | | |
3980 | | auto FileDescOrError::operator=(nsresult&& aRhs) -> FileDescOrError& |
3981 | 0 | { |
3982 | 0 | if (MaybeDestroy(Tnsresult)) { |
3983 | 0 | new (mozilla::KnownNotNull, ptr_nsresult()) nsresult; |
3984 | 0 | } |
3985 | 0 | (*(ptr_nsresult())) = std::move(aRhs); |
3986 | 0 | mType = Tnsresult; |
3987 | 0 | return (*(this)); |
3988 | 0 | } |
3989 | | |
3990 | | auto FileDescOrError::operator=(const FileDescOrError& aRhs) -> FileDescOrError& |
3991 | 0 | { |
3992 | 0 | (aRhs).AssertSanity(); |
3993 | 0 | Type t = (aRhs).type(); |
3994 | 0 | switch (t) { |
3995 | 0 | case TFileDescriptor: |
3996 | 0 | { |
3997 | 0 | if (MaybeDestroy(t)) { |
3998 | 0 | new (mozilla::KnownNotNull, ptr_FileDescriptor()) FileDescriptor; |
3999 | 0 | } |
4000 | 0 | (*(ptr_FileDescriptor())) = (aRhs).get_FileDescriptor(); |
4001 | 0 | break; |
4002 | 0 | } |
4003 | 0 | case Tnsresult: |
4004 | 0 | { |
4005 | 0 | if (MaybeDestroy(t)) { |
4006 | 0 | new (mozilla::KnownNotNull, ptr_nsresult()) nsresult; |
4007 | 0 | } |
4008 | 0 | (*(ptr_nsresult())) = (aRhs).get_nsresult(); |
4009 | 0 | break; |
4010 | 0 | } |
4011 | 0 | case T__None: |
4012 | 0 | { |
4013 | 0 | static_cast<void>(MaybeDestroy(t)); |
4014 | 0 | break; |
4015 | 0 | } |
4016 | 0 | default: |
4017 | 0 | { |
4018 | 0 | mozilla::ipc::LogicError("unreached"); |
4019 | 0 | break; |
4020 | 0 | } |
4021 | 0 | } |
4022 | 0 | mType = t; |
4023 | 0 | return (*(this)); |
4024 | 0 | } |
4025 | | |
4026 | | auto FileDescOrError::operator=(FileDescOrError&& aRhs) -> FileDescOrError& |
4027 | 0 | { |
4028 | 0 | (aRhs).AssertSanity(); |
4029 | 0 | Type t = (aRhs).type(); |
4030 | 0 | switch (t) { |
4031 | 0 | case TFileDescriptor: |
4032 | 0 | { |
4033 | 0 | if (MaybeDestroy(t)) { |
4034 | 0 | new (mozilla::KnownNotNull, ptr_FileDescriptor()) FileDescriptor; |
4035 | 0 | } |
4036 | 0 | (*(ptr_FileDescriptor())) = std::move((aRhs).get_FileDescriptor()); |
4037 | 0 | static_cast<void>((aRhs).MaybeDestroy(T__None)); |
4038 | 0 | break; |
4039 | 0 | } |
4040 | 0 | case Tnsresult: |
4041 | 0 | { |
4042 | 0 | if (MaybeDestroy(t)) { |
4043 | 0 | new (mozilla::KnownNotNull, ptr_nsresult()) nsresult; |
4044 | 0 | } |
4045 | 0 | (*(ptr_nsresult())) = std::move((aRhs).get_nsresult()); |
4046 | 0 | static_cast<void>((aRhs).MaybeDestroy(T__None)); |
4047 | 0 | break; |
4048 | 0 | } |
4049 | 0 | case T__None: |
4050 | 0 | { |
4051 | 0 | static_cast<void>(MaybeDestroy(t)); |
4052 | 0 | break; |
4053 | 0 | } |
4054 | 0 | default: |
4055 | 0 | { |
4056 | 0 | mozilla::ipc::LogicError("unreached"); |
4057 | 0 | break; |
4058 | 0 | } |
4059 | 0 | } |
4060 | 0 | (aRhs).mType = T__None; |
4061 | 0 | mType = t; |
4062 | 0 | return (*(this)); |
4063 | 0 | } |
4064 | | |
4065 | | auto FileDescOrError::operator==(const FileDescriptor& aRhs) const -> bool |
4066 | 0 | { |
4067 | 0 | return (get_FileDescriptor()) == (aRhs); |
4068 | 0 | } |
4069 | | |
4070 | | auto FileDescOrError::operator==(const nsresult& aRhs) const -> bool |
4071 | 0 | { |
4072 | 0 | return (get_nsresult()) == (aRhs); |
4073 | 0 | } |
4074 | | |
4075 | | auto FileDescOrError::operator==(const FileDescOrError& aRhs) const -> bool |
4076 | 0 | { |
4077 | 0 | if ((type()) != ((aRhs).type())) { |
4078 | 0 | return false; |
4079 | 0 | } |
4080 | 0 | |
4081 | 0 | switch (type()) { |
4082 | 0 | case TFileDescriptor: |
4083 | 0 | { |
4084 | 0 | return (get_FileDescriptor()) == ((aRhs).get_FileDescriptor()); |
4085 | 0 | } |
4086 | 0 | case Tnsresult: |
4087 | 0 | { |
4088 | 0 | return (get_nsresult()) == ((aRhs).get_nsresult()); |
4089 | 0 | } |
4090 | 0 | default: |
4091 | 0 | { |
4092 | 0 | mozilla::ipc::LogicError("unreached"); |
4093 | 0 | return false; |
4094 | 0 | } |
4095 | 0 | } |
4096 | 0 | } |
4097 | | |
4098 | | auto FileDescOrError::get(FileDescriptor* aOutValue) const -> void |
4099 | 0 | { |
4100 | 0 | (*(aOutValue)) = get_FileDescriptor(); |
4101 | 0 | } |
4102 | | |
4103 | | auto FileDescOrError::get(nsresult* aOutValue) const -> void |
4104 | 0 | { |
4105 | 0 | (*(aOutValue)) = get_nsresult(); |
4106 | 0 | } |
4107 | | |
4108 | | } // namespace dom |
4109 | | } // namespace mozilla |
4110 | | |
4111 | | namespace mozilla { |
4112 | | namespace ipc { |
4113 | | auto IPDLParamTraits<mozilla::dom::FileDescOrError>::Write( |
4114 | | IPC::Message* aMsg, |
4115 | | mozilla::ipc::IProtocol* aActor, |
4116 | | const paramType& aVar) -> void |
4117 | | { |
4118 | | typedef mozilla::dom::FileDescOrError union__; |
4119 | | int type; |
4120 | | type = (aVar).type(); |
4121 | | WriteIPDLParam(aMsg, aActor, type); |
4122 | | // Sentinel = 'FileDescOrError' |
4123 | | (aMsg)->WriteSentinel(485183767); |
4124 | | |
4125 | | switch (type) { |
4126 | | case union__::TFileDescriptor: |
4127 | | { |
4128 | | WriteIPDLParam(aMsg, aActor, (aVar).get_FileDescriptor()); |
4129 | | // Sentinel = 'TFileDescriptor' |
4130 | | (aMsg)->WriteSentinel(3431583866); |
4131 | | return; |
4132 | | } |
4133 | | case union__::Tnsresult: |
4134 | | { |
4135 | | WriteIPDLParam(aMsg, aActor, (aVar).get_nsresult()); |
4136 | | // Sentinel = 'Tnsresult' |
4137 | | (aMsg)->WriteSentinel(2293764539); |
4138 | | return; |
4139 | | } |
4140 | | default: |
4141 | | { |
4142 | | (aActor)->FatalError("unknown union type"); |
4143 | | return; |
4144 | | } |
4145 | | } |
4146 | | } |
4147 | | |
4148 | | auto IPDLParamTraits<mozilla::dom::FileDescOrError>::Read( |
4149 | | const IPC::Message* aMsg, |
4150 | | PickleIterator* aIter, |
4151 | | mozilla::ipc::IProtocol* aActor, |
4152 | | paramType* aVar) -> bool |
4153 | 0 | { |
4154 | 0 | typedef mozilla::dom::FileDescOrError union__; |
4155 | 0 | int type; |
4156 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&(type)))))) { |
4157 | 0 | (aActor)->FatalError("Error deserializing type of union FileDescOrError"); |
4158 | 0 | return false; |
4159 | 0 | } |
4160 | 0 | // Sentinel = 'FileDescOrError' |
4161 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 485183767)))) { |
4162 | 0 | mozilla::ipc::SentinelReadError("Error deserializing type of union FileDescOrError"); |
4163 | 0 | return false; |
4164 | 0 | } |
4165 | 0 | |
4166 | 0 | switch (type) { |
4167 | 0 | case union__::TFileDescriptor: |
4168 | 0 | { |
4169 | 0 | mozilla::ipc::FileDescriptor tmp = mozilla::ipc::FileDescriptor(); |
4170 | 0 | (*(aVar)) = tmp; |
4171 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->get_FileDescriptor())))))) { |
4172 | 0 | (aActor)->FatalError("Error deserializing variant TFileDescriptor of union FileDescOrError"); |
4173 | 0 | return false; |
4174 | 0 | } |
4175 | 0 | // Sentinel = 'TFileDescriptor' |
4176 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 3431583866)))) { |
4177 | 0 | mozilla::ipc::SentinelReadError("Error deserializing variant TFileDescriptor of union FileDescOrError"); |
4178 | 0 | return false; |
4179 | 0 | } |
4180 | 0 | return true; |
4181 | 0 | } |
4182 | 0 | case union__::Tnsresult: |
4183 | 0 | { |
4184 | 0 | nsresult tmp = nsresult(); |
4185 | 0 | (*(aVar)) = tmp; |
4186 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->get_nsresult())))))) { |
4187 | 0 | (aActor)->FatalError("Error deserializing variant Tnsresult of union FileDescOrError"); |
4188 | 0 | return false; |
4189 | 0 | } |
4190 | 0 | // Sentinel = 'Tnsresult' |
4191 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 2293764539)))) { |
4192 | 0 | mozilla::ipc::SentinelReadError("Error deserializing variant Tnsresult of union FileDescOrError"); |
4193 | 0 | return false; |
4194 | 0 | } |
4195 | 0 | return true; |
4196 | 0 | } |
4197 | 0 | default: |
4198 | 0 | { |
4199 | 0 | (aActor)->FatalError("unknown union type"); |
4200 | 0 | return false; |
4201 | 0 | } |
4202 | 0 | } |
4203 | 0 | } |
4204 | | |
4205 | | } // namespace ipc |
4206 | | } // namespace mozilla |
4207 | | |
4208 | | //----------------------------------------------------------------------------- |
4209 | | // Method definitions for the IPDL type |struct DomainPolicyClone| |
4210 | | // |
4211 | | namespace mozilla { |
4212 | | namespace dom { |
4213 | | auto DomainPolicyClone::operator==(const DomainPolicyClone& _o) const -> bool |
4214 | 0 | { |
4215 | 0 | if ((!((active()) == ((_o).active())))) { |
4216 | 0 | return false; |
4217 | 0 | } |
4218 | 0 | if ((!((blacklist()) == ((_o).blacklist())))) { |
4219 | 0 | return false; |
4220 | 0 | } |
4221 | 0 | if ((!((whitelist()) == ((_o).whitelist())))) { |
4222 | 0 | return false; |
4223 | 0 | } |
4224 | 0 | if ((!((superBlacklist()) == ((_o).superBlacklist())))) { |
4225 | 0 | return false; |
4226 | 0 | } |
4227 | 0 | if ((!((superWhitelist()) == ((_o).superWhitelist())))) { |
4228 | 0 | return false; |
4229 | 0 | } |
4230 | 0 | return true; |
4231 | 0 | } |
4232 | | |
4233 | | auto DomainPolicyClone::operator!=(const DomainPolicyClone& _o) const -> bool |
4234 | 0 | { |
4235 | 0 | return (!(operator==(_o))); |
4236 | 0 | } |
4237 | | |
4238 | | } // namespace dom |
4239 | | } // namespace mozilla |
4240 | | |
4241 | | namespace mozilla { |
4242 | | namespace ipc { |
4243 | | auto IPDLParamTraits<mozilla::dom::DomainPolicyClone>::Write( |
4244 | | IPC::Message* aMsg, |
4245 | | mozilla::ipc::IProtocol* aActor, |
4246 | | const paramType& aVar) -> void |
4247 | 0 | { |
4248 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).active()); |
4249 | 0 | // Sentinel = 'active' |
4250 | 0 | (aMsg)->WriteSentinel(984072408); |
4251 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).blacklist()); |
4252 | 0 | // Sentinel = 'blacklist' |
4253 | 0 | (aMsg)->WriteSentinel(2995637072); |
4254 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).whitelist()); |
4255 | 0 | // Sentinel = 'whitelist' |
4256 | 0 | (aMsg)->WriteSentinel(3731637258); |
4257 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).superBlacklist()); |
4258 | 0 | // Sentinel = 'superBlacklist' |
4259 | 0 | (aMsg)->WriteSentinel(2338774596); |
4260 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).superWhitelist()); |
4261 | 0 | // Sentinel = 'superWhitelist' |
4262 | 0 | (aMsg)->WriteSentinel(1572700762); |
4263 | 0 | } |
4264 | | |
4265 | | auto IPDLParamTraits<mozilla::dom::DomainPolicyClone>::Read( |
4266 | | const IPC::Message* aMsg, |
4267 | | PickleIterator* aIter, |
4268 | | mozilla::ipc::IProtocol* aActor, |
4269 | | paramType* aVar) -> bool |
4270 | 0 | { |
4271 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->active())))))) { |
4272 | 0 | (aActor)->FatalError("Error deserializing 'active' (bool) member of 'DomainPolicyClone'"); |
4273 | 0 | return false; |
4274 | 0 | } |
4275 | 0 | // Sentinel = 'active' |
4276 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 984072408)))) { |
4277 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'active' (bool) member of 'DomainPolicyClone'"); |
4278 | 0 | return false; |
4279 | 0 | } |
4280 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->blacklist())))))) { |
4281 | 0 | (aActor)->FatalError("Error deserializing 'blacklist' (URIParams[]) member of 'DomainPolicyClone'"); |
4282 | 0 | return false; |
4283 | 0 | } |
4284 | 0 | // Sentinel = 'blacklist' |
4285 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 2995637072)))) { |
4286 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'blacklist' (URIParams[]) member of 'DomainPolicyClone'"); |
4287 | 0 | return false; |
4288 | 0 | } |
4289 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->whitelist())))))) { |
4290 | 0 | (aActor)->FatalError("Error deserializing 'whitelist' (URIParams[]) member of 'DomainPolicyClone'"); |
4291 | 0 | return false; |
4292 | 0 | } |
4293 | 0 | // Sentinel = 'whitelist' |
4294 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 3731637258)))) { |
4295 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'whitelist' (URIParams[]) member of 'DomainPolicyClone'"); |
4296 | 0 | return false; |
4297 | 0 | } |
4298 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->superBlacklist())))))) { |
4299 | 0 | (aActor)->FatalError("Error deserializing 'superBlacklist' (URIParams[]) member of 'DomainPolicyClone'"); |
4300 | 0 | return false; |
4301 | 0 | } |
4302 | 0 | // Sentinel = 'superBlacklist' |
4303 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 2338774596)))) { |
4304 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'superBlacklist' (URIParams[]) member of 'DomainPolicyClone'"); |
4305 | 0 | return false; |
4306 | 0 | } |
4307 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->superWhitelist())))))) { |
4308 | 0 | (aActor)->FatalError("Error deserializing 'superWhitelist' (URIParams[]) member of 'DomainPolicyClone'"); |
4309 | 0 | return false; |
4310 | 0 | } |
4311 | 0 | // Sentinel = 'superWhitelist' |
4312 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 1572700762)))) { |
4313 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'superWhitelist' (URIParams[]) member of 'DomainPolicyClone'"); |
4314 | 0 | return false; |
4315 | 0 | } |
4316 | 0 | return true; |
4317 | 0 | } |
4318 | | |
4319 | | } // namespace ipc |
4320 | | } // namespace mozilla |
4321 | | |
4322 | | //----------------------------------------------------------------------------- |
4323 | | // Method definitions for the IPDL type |struct AndroidSystemInfo| |
4324 | | // |
4325 | | namespace mozilla { |
4326 | | namespace dom { |
4327 | | auto AndroidSystemInfo::operator==(const AndroidSystemInfo& _o) const -> bool |
4328 | 0 | { |
4329 | 0 | if ((!((device()) == ((_o).device())))) { |
4330 | 0 | return false; |
4331 | 0 | } |
4332 | 0 | if ((!((manufacturer()) == ((_o).manufacturer())))) { |
4333 | 0 | return false; |
4334 | 0 | } |
4335 | 0 | if ((!((release_version()) == ((_o).release_version())))) { |
4336 | 0 | return false; |
4337 | 0 | } |
4338 | 0 | if ((!((hardware()) == ((_o).hardware())))) { |
4339 | 0 | return false; |
4340 | 0 | } |
4341 | 0 | if ((!((sdk_version()) == ((_o).sdk_version())))) { |
4342 | 0 | return false; |
4343 | 0 | } |
4344 | 0 | if ((!((isTablet()) == ((_o).isTablet())))) { |
4345 | 0 | return false; |
4346 | 0 | } |
4347 | 0 | return true; |
4348 | 0 | } |
4349 | | |
4350 | | auto AndroidSystemInfo::operator!=(const AndroidSystemInfo& _o) const -> bool |
4351 | 0 | { |
4352 | 0 | return (!(operator==(_o))); |
4353 | 0 | } |
4354 | | |
4355 | | } // namespace dom |
4356 | | } // namespace mozilla |
4357 | | |
4358 | | namespace mozilla { |
4359 | | namespace ipc { |
4360 | | auto IPDLParamTraits<mozilla::dom::AndroidSystemInfo>::Write( |
4361 | | IPC::Message* aMsg, |
4362 | | mozilla::ipc::IProtocol* aActor, |
4363 | | const paramType& aVar) -> void |
4364 | 0 | { |
4365 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).device()); |
4366 | 0 | // Sentinel = 'device' |
4367 | 0 | (aMsg)->WriteSentinel(1277795288); |
4368 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).manufacturer()); |
4369 | 0 | // Sentinel = 'manufacturer' |
4370 | 0 | (aMsg)->WriteSentinel(1200082655); |
4371 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).release_version()); |
4372 | 0 | // Sentinel = 'release_version' |
4373 | 0 | (aMsg)->WriteSentinel(833734545); |
4374 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).hardware()); |
4375 | 0 | // Sentinel = 'hardware' |
4376 | 0 | (aMsg)->WriteSentinel(2165251472); |
4377 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).sdk_version()); |
4378 | 0 | // Sentinel = 'sdk_version' |
4379 | 0 | (aMsg)->WriteSentinel(626870578); |
4380 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).isTablet()); |
4381 | 0 | // Sentinel = 'isTablet' |
4382 | 0 | (aMsg)->WriteSentinel(1113371024); |
4383 | 0 | } |
4384 | | |
4385 | | auto IPDLParamTraits<mozilla::dom::AndroidSystemInfo>::Read( |
4386 | | const IPC::Message* aMsg, |
4387 | | PickleIterator* aIter, |
4388 | | mozilla::ipc::IProtocol* aActor, |
4389 | | paramType* aVar) -> bool |
4390 | 0 | { |
4391 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->device())))))) { |
4392 | 0 | (aActor)->FatalError("Error deserializing 'device' (nsString) member of 'AndroidSystemInfo'"); |
4393 | 0 | return false; |
4394 | 0 | } |
4395 | 0 | // Sentinel = 'device' |
4396 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 1277795288)))) { |
4397 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'device' (nsString) member of 'AndroidSystemInfo'"); |
4398 | 0 | return false; |
4399 | 0 | } |
4400 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->manufacturer())))))) { |
4401 | 0 | (aActor)->FatalError("Error deserializing 'manufacturer' (nsString) member of 'AndroidSystemInfo'"); |
4402 | 0 | return false; |
4403 | 0 | } |
4404 | 0 | // Sentinel = 'manufacturer' |
4405 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 1200082655)))) { |
4406 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'manufacturer' (nsString) member of 'AndroidSystemInfo'"); |
4407 | 0 | return false; |
4408 | 0 | } |
4409 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->release_version())))))) { |
4410 | 0 | (aActor)->FatalError("Error deserializing 'release_version' (nsString) member of 'AndroidSystemInfo'"); |
4411 | 0 | return false; |
4412 | 0 | } |
4413 | 0 | // Sentinel = 'release_version' |
4414 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 833734545)))) { |
4415 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'release_version' (nsString) member of 'AndroidSystemInfo'"); |
4416 | 0 | return false; |
4417 | 0 | } |
4418 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->hardware())))))) { |
4419 | 0 | (aActor)->FatalError("Error deserializing 'hardware' (nsString) member of 'AndroidSystemInfo'"); |
4420 | 0 | return false; |
4421 | 0 | } |
4422 | 0 | // Sentinel = 'hardware' |
4423 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 2165251472)))) { |
4424 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'hardware' (nsString) member of 'AndroidSystemInfo'"); |
4425 | 0 | return false; |
4426 | 0 | } |
4427 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->sdk_version())))))) { |
4428 | 0 | (aActor)->FatalError("Error deserializing 'sdk_version' (uint32_t) member of 'AndroidSystemInfo'"); |
4429 | 0 | return false; |
4430 | 0 | } |
4431 | 0 | // Sentinel = 'sdk_version' |
4432 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 626870578)))) { |
4433 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'sdk_version' (uint32_t) member of 'AndroidSystemInfo'"); |
4434 | 0 | return false; |
4435 | 0 | } |
4436 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->isTablet())))))) { |
4437 | 0 | (aActor)->FatalError("Error deserializing 'isTablet' (bool) member of 'AndroidSystemInfo'"); |
4438 | 0 | return false; |
4439 | 0 | } |
4440 | 0 | // Sentinel = 'isTablet' |
4441 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 1113371024)))) { |
4442 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'isTablet' (bool) member of 'AndroidSystemInfo'"); |
4443 | 0 | return false; |
4444 | 0 | } |
4445 | 0 | return true; |
4446 | 0 | } |
4447 | | |
4448 | | } // namespace ipc |
4449 | | } // namespace mozilla |
4450 | | |
4451 | | //----------------------------------------------------------------------------- |
4452 | | // Method definitions for the IPDL type |struct GetFilesResponseSuccess| |
4453 | | // |
4454 | | namespace mozilla { |
4455 | | namespace dom { |
4456 | | auto GetFilesResponseSuccess::operator==(const GetFilesResponseSuccess& _o) const -> bool |
4457 | 0 | { |
4458 | 0 | if ((!((blobs()) == ((_o).blobs())))) { |
4459 | 0 | return false; |
4460 | 0 | } |
4461 | 0 | return true; |
4462 | 0 | } |
4463 | | |
4464 | | auto GetFilesResponseSuccess::operator!=(const GetFilesResponseSuccess& _o) const -> bool |
4465 | 0 | { |
4466 | 0 | return (!(operator==(_o))); |
4467 | 0 | } |
4468 | | |
4469 | | } // namespace dom |
4470 | | } // namespace mozilla |
4471 | | |
4472 | | namespace mozilla { |
4473 | | namespace ipc { |
4474 | | auto IPDLParamTraits<mozilla::dom::GetFilesResponseSuccess>::Write( |
4475 | | IPC::Message* aMsg, |
4476 | | mozilla::ipc::IProtocol* aActor, |
4477 | | const paramType& aVar) -> void |
4478 | 0 | { |
4479 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).blobs()); |
4480 | 0 | // Sentinel = 'blobs' |
4481 | 0 | (aMsg)->WriteSentinel(635500709); |
4482 | 0 | } |
4483 | | |
4484 | | auto IPDLParamTraits<mozilla::dom::GetFilesResponseSuccess>::Read( |
4485 | | const IPC::Message* aMsg, |
4486 | | PickleIterator* aIter, |
4487 | | mozilla::ipc::IProtocol* aActor, |
4488 | | paramType* aVar) -> bool |
4489 | 0 | { |
4490 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->blobs())))))) { |
4491 | 0 | (aActor)->FatalError("Error deserializing 'blobs' (IPCBlob[]) member of 'GetFilesResponseSuccess'"); |
4492 | 0 | return false; |
4493 | 0 | } |
4494 | 0 | // Sentinel = 'blobs' |
4495 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 635500709)))) { |
4496 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'blobs' (IPCBlob[]) member of 'GetFilesResponseSuccess'"); |
4497 | 0 | return false; |
4498 | 0 | } |
4499 | 0 | return true; |
4500 | 0 | } |
4501 | | |
4502 | | } // namespace ipc |
4503 | | } // namespace mozilla |
4504 | | |
4505 | | //----------------------------------------------------------------------------- |
4506 | | // Method definitions for the IPDL type |struct GetFilesResponseFailure| |
4507 | | // |
4508 | | namespace mozilla { |
4509 | | namespace dom { |
4510 | | auto GetFilesResponseFailure::operator==(const GetFilesResponseFailure& _o) const -> bool |
4511 | 0 | { |
4512 | 0 | if ((!((errorCode()) == ((_o).errorCode())))) { |
4513 | 0 | return false; |
4514 | 0 | } |
4515 | 0 | return true; |
4516 | 0 | } |
4517 | | |
4518 | | auto GetFilesResponseFailure::operator!=(const GetFilesResponseFailure& _o) const -> bool |
4519 | 0 | { |
4520 | 0 | return (!(operator==(_o))); |
4521 | 0 | } |
4522 | | |
4523 | | } // namespace dom |
4524 | | } // namespace mozilla |
4525 | | |
4526 | | namespace mozilla { |
4527 | | namespace ipc { |
4528 | | auto IPDLParamTraits<mozilla::dom::GetFilesResponseFailure>::Write( |
4529 | | IPC::Message* aMsg, |
4530 | | mozilla::ipc::IProtocol* aActor, |
4531 | | const paramType& aVar) -> void |
4532 | 0 | { |
4533 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).errorCode()); |
4534 | 0 | // Sentinel = 'errorCode' |
4535 | 0 | (aMsg)->WriteSentinel(262143504); |
4536 | 0 | } |
4537 | | |
4538 | | auto IPDLParamTraits<mozilla::dom::GetFilesResponseFailure>::Read( |
4539 | | const IPC::Message* aMsg, |
4540 | | PickleIterator* aIter, |
4541 | | mozilla::ipc::IProtocol* aActor, |
4542 | | paramType* aVar) -> bool |
4543 | 0 | { |
4544 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->errorCode())))))) { |
4545 | 0 | (aActor)->FatalError("Error deserializing 'errorCode' (nsresult) member of 'GetFilesResponseFailure'"); |
4546 | 0 | return false; |
4547 | 0 | } |
4548 | 0 | // Sentinel = 'errorCode' |
4549 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 262143504)))) { |
4550 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'errorCode' (nsresult) member of 'GetFilesResponseFailure'"); |
4551 | 0 | return false; |
4552 | 0 | } |
4553 | 0 | return true; |
4554 | 0 | } |
4555 | | |
4556 | | } // namespace ipc |
4557 | | } // namespace mozilla |
4558 | | |
4559 | | //----------------------------------------------------------------------------- |
4560 | | // Method definitions for the IPDL type |union GetFilesResponseResult| |
4561 | | // |
4562 | | namespace mozilla { |
4563 | | namespace dom { |
4564 | | auto GetFilesResponseResult::MaybeDestroy(Type aNewType) -> bool |
4565 | 0 | { |
4566 | 0 | if ((mType) == (T__None)) { |
4567 | 0 | return true; |
4568 | 0 | } |
4569 | 0 | if ((mType) == (aNewType)) { |
4570 | 0 | return false; |
4571 | 0 | } |
4572 | 0 | switch (mType) { |
4573 | 0 | case TGetFilesResponseSuccess: |
4574 | 0 | { |
4575 | 0 | (ptr_GetFilesResponseSuccess())->~GetFilesResponseSuccess__tdef(); |
4576 | 0 | break; |
4577 | 0 | } |
4578 | 0 | case TGetFilesResponseFailure: |
4579 | 0 | { |
4580 | 0 | (ptr_GetFilesResponseFailure())->~GetFilesResponseFailure__tdef(); |
4581 | 0 | break; |
4582 | 0 | } |
4583 | 0 | default: |
4584 | 0 | { |
4585 | 0 | mozilla::ipc::LogicError("not reached"); |
4586 | 0 | break; |
4587 | 0 | } |
4588 | 0 | } |
4589 | 0 | return true; |
4590 | 0 | } |
4591 | | |
4592 | | MOZ_IMPLICIT GetFilesResponseResult::GetFilesResponseResult(const GetFilesResponseSuccess& aOther) |
4593 | 0 | { |
4594 | 0 | new (mozilla::KnownNotNull, ptr_GetFilesResponseSuccess()) GetFilesResponseSuccess(aOther); |
4595 | 0 | mType = TGetFilesResponseSuccess; |
4596 | 0 | } |
4597 | | |
4598 | | MOZ_IMPLICIT GetFilesResponseResult::GetFilesResponseResult(GetFilesResponseSuccess&& aOther) |
4599 | 0 | { |
4600 | 0 | new (mozilla::KnownNotNull, ptr_GetFilesResponseSuccess()) GetFilesResponseSuccess(std::move(aOther)); |
4601 | 0 | mType = TGetFilesResponseSuccess; |
4602 | 0 | } |
4603 | | |
4604 | | MOZ_IMPLICIT GetFilesResponseResult::GetFilesResponseResult(const GetFilesResponseFailure& aOther) |
4605 | 0 | { |
4606 | 0 | new (mozilla::KnownNotNull, ptr_GetFilesResponseFailure()) GetFilesResponseFailure(aOther); |
4607 | 0 | mType = TGetFilesResponseFailure; |
4608 | 0 | } |
4609 | | |
4610 | | MOZ_IMPLICIT GetFilesResponseResult::GetFilesResponseResult(GetFilesResponseFailure&& aOther) |
4611 | 0 | { |
4612 | 0 | new (mozilla::KnownNotNull, ptr_GetFilesResponseFailure()) GetFilesResponseFailure(std::move(aOther)); |
4613 | 0 | mType = TGetFilesResponseFailure; |
4614 | 0 | } |
4615 | | |
4616 | | MOZ_IMPLICIT GetFilesResponseResult::GetFilesResponseResult(const GetFilesResponseResult& aOther) |
4617 | 0 | { |
4618 | 0 | (aOther).AssertSanity(); |
4619 | 0 | switch ((aOther).type()) { |
4620 | 0 | case TGetFilesResponseSuccess: |
4621 | 0 | { |
4622 | 0 | new (mozilla::KnownNotNull, ptr_GetFilesResponseSuccess()) GetFilesResponseSuccess((aOther).get_GetFilesResponseSuccess()); |
4623 | 0 | break; |
4624 | 0 | } |
4625 | 0 | case TGetFilesResponseFailure: |
4626 | 0 | { |
4627 | 0 | new (mozilla::KnownNotNull, ptr_GetFilesResponseFailure()) GetFilesResponseFailure((aOther).get_GetFilesResponseFailure()); |
4628 | 0 | break; |
4629 | 0 | } |
4630 | 0 | case T__None: |
4631 | 0 | { |
4632 | 0 | break; |
4633 | 0 | } |
4634 | 0 | default: |
4635 | 0 | { |
4636 | 0 | mozilla::ipc::LogicError("unreached"); |
4637 | 0 | return; |
4638 | 0 | } |
4639 | 0 | } |
4640 | 0 | mType = (aOther).type(); |
4641 | 0 | } |
4642 | | |
4643 | | MOZ_IMPLICIT GetFilesResponseResult::GetFilesResponseResult(GetFilesResponseResult&& aOther) |
4644 | 0 | { |
4645 | 0 | (aOther).AssertSanity(); |
4646 | 0 | Type t = (aOther).type(); |
4647 | 0 | switch (t) { |
4648 | 0 | case TGetFilesResponseSuccess: |
4649 | 0 | { |
4650 | 0 | new (mozilla::KnownNotNull, ptr_GetFilesResponseSuccess()) GetFilesResponseSuccess(std::move((aOther).get_GetFilesResponseSuccess())); |
4651 | 0 | static_cast<void>((aOther).MaybeDestroy(T__None)); |
4652 | 0 | break; |
4653 | 0 | } |
4654 | 0 | case TGetFilesResponseFailure: |
4655 | 0 | { |
4656 | 0 | new (mozilla::KnownNotNull, ptr_GetFilesResponseFailure()) GetFilesResponseFailure(std::move((aOther).get_GetFilesResponseFailure())); |
4657 | 0 | static_cast<void>((aOther).MaybeDestroy(T__None)); |
4658 | 0 | break; |
4659 | 0 | } |
4660 | 0 | case T__None: |
4661 | 0 | { |
4662 | 0 | break; |
4663 | 0 | } |
4664 | 0 | default: |
4665 | 0 | { |
4666 | 0 | mozilla::ipc::LogicError("unreached"); |
4667 | 0 | return; |
4668 | 0 | } |
4669 | 0 | } |
4670 | 0 | (aOther).mType = T__None; |
4671 | 0 | mType = t; |
4672 | 0 | } |
4673 | | |
4674 | | GetFilesResponseResult::~GetFilesResponseResult() |
4675 | 0 | { |
4676 | 0 | static_cast<void>(MaybeDestroy(T__None)); |
4677 | 0 | } |
4678 | | |
4679 | | auto GetFilesResponseResult::operator=(const GetFilesResponseSuccess& aRhs) -> GetFilesResponseResult& |
4680 | 0 | { |
4681 | 0 | if (MaybeDestroy(TGetFilesResponseSuccess)) { |
4682 | 0 | new (mozilla::KnownNotNull, ptr_GetFilesResponseSuccess()) GetFilesResponseSuccess; |
4683 | 0 | } |
4684 | 0 | (*(ptr_GetFilesResponseSuccess())) = aRhs; |
4685 | 0 | mType = TGetFilesResponseSuccess; |
4686 | 0 | return (*(this)); |
4687 | 0 | } |
4688 | | |
4689 | | auto GetFilesResponseResult::operator=(GetFilesResponseSuccess&& aRhs) -> GetFilesResponseResult& |
4690 | 0 | { |
4691 | 0 | if (MaybeDestroy(TGetFilesResponseSuccess)) { |
4692 | 0 | new (mozilla::KnownNotNull, ptr_GetFilesResponseSuccess()) GetFilesResponseSuccess; |
4693 | 0 | } |
4694 | 0 | (*(ptr_GetFilesResponseSuccess())) = std::move(aRhs); |
4695 | 0 | mType = TGetFilesResponseSuccess; |
4696 | 0 | return (*(this)); |
4697 | 0 | } |
4698 | | |
4699 | | auto GetFilesResponseResult::operator=(const GetFilesResponseFailure& aRhs) -> GetFilesResponseResult& |
4700 | 0 | { |
4701 | 0 | if (MaybeDestroy(TGetFilesResponseFailure)) { |
4702 | 0 | new (mozilla::KnownNotNull, ptr_GetFilesResponseFailure()) GetFilesResponseFailure; |
4703 | 0 | } |
4704 | 0 | (*(ptr_GetFilesResponseFailure())) = aRhs; |
4705 | 0 | mType = TGetFilesResponseFailure; |
4706 | 0 | return (*(this)); |
4707 | 0 | } |
4708 | | |
4709 | | auto GetFilesResponseResult::operator=(GetFilesResponseFailure&& aRhs) -> GetFilesResponseResult& |
4710 | 0 | { |
4711 | 0 | if (MaybeDestroy(TGetFilesResponseFailure)) { |
4712 | 0 | new (mozilla::KnownNotNull, ptr_GetFilesResponseFailure()) GetFilesResponseFailure; |
4713 | 0 | } |
4714 | 0 | (*(ptr_GetFilesResponseFailure())) = std::move(aRhs); |
4715 | 0 | mType = TGetFilesResponseFailure; |
4716 | 0 | return (*(this)); |
4717 | 0 | } |
4718 | | |
4719 | | auto GetFilesResponseResult::operator=(const GetFilesResponseResult& aRhs) -> GetFilesResponseResult& |
4720 | 0 | { |
4721 | 0 | (aRhs).AssertSanity(); |
4722 | 0 | Type t = (aRhs).type(); |
4723 | 0 | switch (t) { |
4724 | 0 | case TGetFilesResponseSuccess: |
4725 | 0 | { |
4726 | 0 | if (MaybeDestroy(t)) { |
4727 | 0 | new (mozilla::KnownNotNull, ptr_GetFilesResponseSuccess()) GetFilesResponseSuccess; |
4728 | 0 | } |
4729 | 0 | (*(ptr_GetFilesResponseSuccess())) = (aRhs).get_GetFilesResponseSuccess(); |
4730 | 0 | break; |
4731 | 0 | } |
4732 | 0 | case TGetFilesResponseFailure: |
4733 | 0 | { |
4734 | 0 | if (MaybeDestroy(t)) { |
4735 | 0 | new (mozilla::KnownNotNull, ptr_GetFilesResponseFailure()) GetFilesResponseFailure; |
4736 | 0 | } |
4737 | 0 | (*(ptr_GetFilesResponseFailure())) = (aRhs).get_GetFilesResponseFailure(); |
4738 | 0 | break; |
4739 | 0 | } |
4740 | 0 | case T__None: |
4741 | 0 | { |
4742 | 0 | static_cast<void>(MaybeDestroy(t)); |
4743 | 0 | break; |
4744 | 0 | } |
4745 | 0 | default: |
4746 | 0 | { |
4747 | 0 | mozilla::ipc::LogicError("unreached"); |
4748 | 0 | break; |
4749 | 0 | } |
4750 | 0 | } |
4751 | 0 | mType = t; |
4752 | 0 | return (*(this)); |
4753 | 0 | } |
4754 | | |
4755 | | auto GetFilesResponseResult::operator=(GetFilesResponseResult&& aRhs) -> GetFilesResponseResult& |
4756 | 0 | { |
4757 | 0 | (aRhs).AssertSanity(); |
4758 | 0 | Type t = (aRhs).type(); |
4759 | 0 | switch (t) { |
4760 | 0 | case TGetFilesResponseSuccess: |
4761 | 0 | { |
4762 | 0 | if (MaybeDestroy(t)) { |
4763 | 0 | new (mozilla::KnownNotNull, ptr_GetFilesResponseSuccess()) GetFilesResponseSuccess; |
4764 | 0 | } |
4765 | 0 | (*(ptr_GetFilesResponseSuccess())) = std::move((aRhs).get_GetFilesResponseSuccess()); |
4766 | 0 | static_cast<void>((aRhs).MaybeDestroy(T__None)); |
4767 | 0 | break; |
4768 | 0 | } |
4769 | 0 | case TGetFilesResponseFailure: |
4770 | 0 | { |
4771 | 0 | if (MaybeDestroy(t)) { |
4772 | 0 | new (mozilla::KnownNotNull, ptr_GetFilesResponseFailure()) GetFilesResponseFailure; |
4773 | 0 | } |
4774 | 0 | (*(ptr_GetFilesResponseFailure())) = std::move((aRhs).get_GetFilesResponseFailure()); |
4775 | 0 | static_cast<void>((aRhs).MaybeDestroy(T__None)); |
4776 | 0 | break; |
4777 | 0 | } |
4778 | 0 | case T__None: |
4779 | 0 | { |
4780 | 0 | static_cast<void>(MaybeDestroy(t)); |
4781 | 0 | break; |
4782 | 0 | } |
4783 | 0 | default: |
4784 | 0 | { |
4785 | 0 | mozilla::ipc::LogicError("unreached"); |
4786 | 0 | break; |
4787 | 0 | } |
4788 | 0 | } |
4789 | 0 | (aRhs).mType = T__None; |
4790 | 0 | mType = t; |
4791 | 0 | return (*(this)); |
4792 | 0 | } |
4793 | | |
4794 | | auto GetFilesResponseResult::operator==(const GetFilesResponseSuccess& aRhs) const -> bool |
4795 | 0 | { |
4796 | 0 | return (get_GetFilesResponseSuccess()) == (aRhs); |
4797 | 0 | } |
4798 | | |
4799 | | auto GetFilesResponseResult::operator==(const GetFilesResponseFailure& aRhs) const -> bool |
4800 | 0 | { |
4801 | 0 | return (get_GetFilesResponseFailure()) == (aRhs); |
4802 | 0 | } |
4803 | | |
4804 | | auto GetFilesResponseResult::operator==(const GetFilesResponseResult& aRhs) const -> bool |
4805 | 0 | { |
4806 | 0 | if ((type()) != ((aRhs).type())) { |
4807 | 0 | return false; |
4808 | 0 | } |
4809 | 0 | |
4810 | 0 | switch (type()) { |
4811 | 0 | case TGetFilesResponseSuccess: |
4812 | 0 | { |
4813 | 0 | return (get_GetFilesResponseSuccess()) == ((aRhs).get_GetFilesResponseSuccess()); |
4814 | 0 | } |
4815 | 0 | case TGetFilesResponseFailure: |
4816 | 0 | { |
4817 | 0 | return (get_GetFilesResponseFailure()) == ((aRhs).get_GetFilesResponseFailure()); |
4818 | 0 | } |
4819 | 0 | default: |
4820 | 0 | { |
4821 | 0 | mozilla::ipc::LogicError("unreached"); |
4822 | 0 | return false; |
4823 | 0 | } |
4824 | 0 | } |
4825 | 0 | } |
4826 | | |
4827 | | auto GetFilesResponseResult::get(GetFilesResponseSuccess* aOutValue) const -> void |
4828 | 0 | { |
4829 | 0 | (*(aOutValue)) = get_GetFilesResponseSuccess(); |
4830 | 0 | } |
4831 | | |
4832 | | auto GetFilesResponseResult::get(GetFilesResponseFailure* aOutValue) const -> void |
4833 | 0 | { |
4834 | 0 | (*(aOutValue)) = get_GetFilesResponseFailure(); |
4835 | 0 | } |
4836 | | |
4837 | | } // namespace dom |
4838 | | } // namespace mozilla |
4839 | | |
4840 | | namespace mozilla { |
4841 | | namespace ipc { |
4842 | | auto IPDLParamTraits<mozilla::dom::GetFilesResponseResult>::Write( |
4843 | | IPC::Message* aMsg, |
4844 | | mozilla::ipc::IProtocol* aActor, |
4845 | | const paramType& aVar) -> void |
4846 | | { |
4847 | | typedef mozilla::dom::GetFilesResponseResult union__; |
4848 | | int type; |
4849 | | type = (aVar).type(); |
4850 | | WriteIPDLParam(aMsg, aActor, type); |
4851 | | // Sentinel = 'GetFilesResponseResult' |
4852 | | (aMsg)->WriteSentinel(1743450989); |
4853 | | |
4854 | | switch (type) { |
4855 | | case union__::TGetFilesResponseSuccess: |
4856 | | { |
4857 | | WriteIPDLParam(aMsg, aActor, (aVar).get_GetFilesResponseSuccess()); |
4858 | | // Sentinel = 'TGetFilesResponseSuccess' |
4859 | | (aMsg)->WriteSentinel(3501814365); |
4860 | | return; |
4861 | | } |
4862 | | case union__::TGetFilesResponseFailure: |
4863 | | { |
4864 | | WriteIPDLParam(aMsg, aActor, (aVar).get_GetFilesResponseFailure()); |
4865 | | // Sentinel = 'TGetFilesResponseFailure' |
4866 | | (aMsg)->WriteSentinel(2500235538); |
4867 | | return; |
4868 | | } |
4869 | | default: |
4870 | | { |
4871 | | (aActor)->FatalError("unknown union type"); |
4872 | | return; |
4873 | | } |
4874 | | } |
4875 | | } |
4876 | | |
4877 | | auto IPDLParamTraits<mozilla::dom::GetFilesResponseResult>::Read( |
4878 | | const IPC::Message* aMsg, |
4879 | | PickleIterator* aIter, |
4880 | | mozilla::ipc::IProtocol* aActor, |
4881 | | paramType* aVar) -> bool |
4882 | 0 | { |
4883 | 0 | typedef mozilla::dom::GetFilesResponseResult union__; |
4884 | 0 | int type; |
4885 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&(type)))))) { |
4886 | 0 | (aActor)->FatalError("Error deserializing type of union GetFilesResponseResult"); |
4887 | 0 | return false; |
4888 | 0 | } |
4889 | 0 | // Sentinel = 'GetFilesResponseResult' |
4890 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 1743450989)))) { |
4891 | 0 | mozilla::ipc::SentinelReadError("Error deserializing type of union GetFilesResponseResult"); |
4892 | 0 | return false; |
4893 | 0 | } |
4894 | 0 | |
4895 | 0 | switch (type) { |
4896 | 0 | case union__::TGetFilesResponseSuccess: |
4897 | 0 | { |
4898 | 0 | mozilla::dom::GetFilesResponseSuccess tmp = mozilla::dom::GetFilesResponseSuccess(); |
4899 | 0 | (*(aVar)) = tmp; |
4900 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->get_GetFilesResponseSuccess())))))) { |
4901 | 0 | (aActor)->FatalError("Error deserializing variant TGetFilesResponseSuccess of union GetFilesResponseResult"); |
4902 | 0 | return false; |
4903 | 0 | } |
4904 | 0 | // Sentinel = 'TGetFilesResponseSuccess' |
4905 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 3501814365)))) { |
4906 | 0 | mozilla::ipc::SentinelReadError("Error deserializing variant TGetFilesResponseSuccess of union GetFilesResponseResult"); |
4907 | 0 | return false; |
4908 | 0 | } |
4909 | 0 | return true; |
4910 | 0 | } |
4911 | 0 | case union__::TGetFilesResponseFailure: |
4912 | 0 | { |
4913 | 0 | mozilla::dom::GetFilesResponseFailure tmp = mozilla::dom::GetFilesResponseFailure(); |
4914 | 0 | (*(aVar)) = tmp; |
4915 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->get_GetFilesResponseFailure())))))) { |
4916 | 0 | (aActor)->FatalError("Error deserializing variant TGetFilesResponseFailure of union GetFilesResponseResult"); |
4917 | 0 | return false; |
4918 | 0 | } |
4919 | 0 | // Sentinel = 'TGetFilesResponseFailure' |
4920 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 2500235538)))) { |
4921 | 0 | mozilla::ipc::SentinelReadError("Error deserializing variant TGetFilesResponseFailure of union GetFilesResponseResult"); |
4922 | 0 | return false; |
4923 | 0 | } |
4924 | 0 | return true; |
4925 | 0 | } |
4926 | 0 | default: |
4927 | 0 | { |
4928 | 0 | (aActor)->FatalError("unknown union type"); |
4929 | 0 | return false; |
4930 | 0 | } |
4931 | 0 | } |
4932 | 0 | } |
4933 | | |
4934 | | } // namespace ipc |
4935 | | } // namespace mozilla |
4936 | | |
4937 | | //----------------------------------------------------------------------------- |
4938 | | // Method definitions for the IPDL type |struct FileCreationSuccessResult| |
4939 | | // |
4940 | | namespace mozilla { |
4941 | | namespace dom { |
4942 | | auto FileCreationSuccessResult::operator==(const FileCreationSuccessResult& _o) const -> bool |
4943 | 0 | { |
4944 | 0 | if ((!((blob()) == ((_o).blob())))) { |
4945 | 0 | return false; |
4946 | 0 | } |
4947 | 0 | return true; |
4948 | 0 | } |
4949 | | |
4950 | | auto FileCreationSuccessResult::operator!=(const FileCreationSuccessResult& _o) const -> bool |
4951 | 0 | { |
4952 | 0 | return (!(operator==(_o))); |
4953 | 0 | } |
4954 | | |
4955 | | } // namespace dom |
4956 | | } // namespace mozilla |
4957 | | |
4958 | | namespace mozilla { |
4959 | | namespace ipc { |
4960 | | auto IPDLParamTraits<mozilla::dom::FileCreationSuccessResult>::Write( |
4961 | | IPC::Message* aMsg, |
4962 | | mozilla::ipc::IProtocol* aActor, |
4963 | | const paramType& aVar) -> void |
4964 | 0 | { |
4965 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).blob()); |
4966 | 0 | // Sentinel = 'blob' |
4967 | 0 | (aMsg)->WriteSentinel(1963585077); |
4968 | 0 | } |
4969 | | |
4970 | | auto IPDLParamTraits<mozilla::dom::FileCreationSuccessResult>::Read( |
4971 | | const IPC::Message* aMsg, |
4972 | | PickleIterator* aIter, |
4973 | | mozilla::ipc::IProtocol* aActor, |
4974 | | paramType* aVar) -> bool |
4975 | 0 | { |
4976 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->blob())))))) { |
4977 | 0 | (aActor)->FatalError("Error deserializing 'blob' (IPCBlob) member of 'FileCreationSuccessResult'"); |
4978 | 0 | return false; |
4979 | 0 | } |
4980 | 0 | // Sentinel = 'blob' |
4981 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 1963585077)))) { |
4982 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'blob' (IPCBlob) member of 'FileCreationSuccessResult'"); |
4983 | 0 | return false; |
4984 | 0 | } |
4985 | 0 | return true; |
4986 | 0 | } |
4987 | | |
4988 | | } // namespace ipc |
4989 | | } // namespace mozilla |
4990 | | |
4991 | | //----------------------------------------------------------------------------- |
4992 | | // Method definitions for the IPDL type |struct FileCreationErrorResult| |
4993 | | // |
4994 | | namespace mozilla { |
4995 | | namespace dom { |
4996 | | auto FileCreationErrorResult::operator==(const FileCreationErrorResult& _o) const -> bool |
4997 | 0 | { |
4998 | 0 | if ((!((errorCode()) == ((_o).errorCode())))) { |
4999 | 0 | return false; |
5000 | 0 | } |
5001 | 0 | return true; |
5002 | 0 | } |
5003 | | |
5004 | | auto FileCreationErrorResult::operator!=(const FileCreationErrorResult& _o) const -> bool |
5005 | 0 | { |
5006 | 0 | return (!(operator==(_o))); |
5007 | 0 | } |
5008 | | |
5009 | | } // namespace dom |
5010 | | } // namespace mozilla |
5011 | | |
5012 | | namespace mozilla { |
5013 | | namespace ipc { |
5014 | | auto IPDLParamTraits<mozilla::dom::FileCreationErrorResult>::Write( |
5015 | | IPC::Message* aMsg, |
5016 | | mozilla::ipc::IProtocol* aActor, |
5017 | | const paramType& aVar) -> void |
5018 | 0 | { |
5019 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).errorCode()); |
5020 | 0 | // Sentinel = 'errorCode' |
5021 | 0 | (aMsg)->WriteSentinel(262143504); |
5022 | 0 | } |
5023 | | |
5024 | | auto IPDLParamTraits<mozilla::dom::FileCreationErrorResult>::Read( |
5025 | | const IPC::Message* aMsg, |
5026 | | PickleIterator* aIter, |
5027 | | mozilla::ipc::IProtocol* aActor, |
5028 | | paramType* aVar) -> bool |
5029 | 0 | { |
5030 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->errorCode())))))) { |
5031 | 0 | (aActor)->FatalError("Error deserializing 'errorCode' (nsresult) member of 'FileCreationErrorResult'"); |
5032 | 0 | return false; |
5033 | 0 | } |
5034 | 0 | // Sentinel = 'errorCode' |
5035 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 262143504)))) { |
5036 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'errorCode' (nsresult) member of 'FileCreationErrorResult'"); |
5037 | 0 | return false; |
5038 | 0 | } |
5039 | 0 | return true; |
5040 | 0 | } |
5041 | | |
5042 | | } // namespace ipc |
5043 | | } // namespace mozilla |
5044 | | |
5045 | | //----------------------------------------------------------------------------- |
5046 | | // Method definitions for the IPDL type |union FileCreationResult| |
5047 | | // |
5048 | | namespace mozilla { |
5049 | | namespace dom { |
5050 | | auto FileCreationResult::MaybeDestroy(Type aNewType) -> bool |
5051 | 0 | { |
5052 | 0 | if ((mType) == (T__None)) { |
5053 | 0 | return true; |
5054 | 0 | } |
5055 | 0 | if ((mType) == (aNewType)) { |
5056 | 0 | return false; |
5057 | 0 | } |
5058 | 0 | switch (mType) { |
5059 | 0 | case TFileCreationSuccessResult: |
5060 | 0 | { |
5061 | 0 | (ptr_FileCreationSuccessResult())->~FileCreationSuccessResult__tdef(); |
5062 | 0 | break; |
5063 | 0 | } |
5064 | 0 | case TFileCreationErrorResult: |
5065 | 0 | { |
5066 | 0 | (ptr_FileCreationErrorResult())->~FileCreationErrorResult__tdef(); |
5067 | 0 | break; |
5068 | 0 | } |
5069 | 0 | default: |
5070 | 0 | { |
5071 | 0 | mozilla::ipc::LogicError("not reached"); |
5072 | 0 | break; |
5073 | 0 | } |
5074 | 0 | } |
5075 | 0 | return true; |
5076 | 0 | } |
5077 | | |
5078 | | MOZ_IMPLICIT FileCreationResult::FileCreationResult(const FileCreationSuccessResult& aOther) |
5079 | 0 | { |
5080 | 0 | new (mozilla::KnownNotNull, ptr_FileCreationSuccessResult()) FileCreationSuccessResult(aOther); |
5081 | 0 | mType = TFileCreationSuccessResult; |
5082 | 0 | } |
5083 | | |
5084 | | MOZ_IMPLICIT FileCreationResult::FileCreationResult(FileCreationSuccessResult&& aOther) |
5085 | 0 | { |
5086 | 0 | new (mozilla::KnownNotNull, ptr_FileCreationSuccessResult()) FileCreationSuccessResult(std::move(aOther)); |
5087 | 0 | mType = TFileCreationSuccessResult; |
5088 | 0 | } |
5089 | | |
5090 | | MOZ_IMPLICIT FileCreationResult::FileCreationResult(const FileCreationErrorResult& aOther) |
5091 | 0 | { |
5092 | 0 | new (mozilla::KnownNotNull, ptr_FileCreationErrorResult()) FileCreationErrorResult(aOther); |
5093 | 0 | mType = TFileCreationErrorResult; |
5094 | 0 | } |
5095 | | |
5096 | | MOZ_IMPLICIT FileCreationResult::FileCreationResult(FileCreationErrorResult&& aOther) |
5097 | 0 | { |
5098 | 0 | new (mozilla::KnownNotNull, ptr_FileCreationErrorResult()) FileCreationErrorResult(std::move(aOther)); |
5099 | 0 | mType = TFileCreationErrorResult; |
5100 | 0 | } |
5101 | | |
5102 | | MOZ_IMPLICIT FileCreationResult::FileCreationResult(const FileCreationResult& aOther) |
5103 | 0 | { |
5104 | 0 | (aOther).AssertSanity(); |
5105 | 0 | switch ((aOther).type()) { |
5106 | 0 | case TFileCreationSuccessResult: |
5107 | 0 | { |
5108 | 0 | new (mozilla::KnownNotNull, ptr_FileCreationSuccessResult()) FileCreationSuccessResult((aOther).get_FileCreationSuccessResult()); |
5109 | 0 | break; |
5110 | 0 | } |
5111 | 0 | case TFileCreationErrorResult: |
5112 | 0 | { |
5113 | 0 | new (mozilla::KnownNotNull, ptr_FileCreationErrorResult()) FileCreationErrorResult((aOther).get_FileCreationErrorResult()); |
5114 | 0 | break; |
5115 | 0 | } |
5116 | 0 | case T__None: |
5117 | 0 | { |
5118 | 0 | break; |
5119 | 0 | } |
5120 | 0 | default: |
5121 | 0 | { |
5122 | 0 | mozilla::ipc::LogicError("unreached"); |
5123 | 0 | return; |
5124 | 0 | } |
5125 | 0 | } |
5126 | 0 | mType = (aOther).type(); |
5127 | 0 | } |
5128 | | |
5129 | | MOZ_IMPLICIT FileCreationResult::FileCreationResult(FileCreationResult&& aOther) |
5130 | 0 | { |
5131 | 0 | (aOther).AssertSanity(); |
5132 | 0 | Type t = (aOther).type(); |
5133 | 0 | switch (t) { |
5134 | 0 | case TFileCreationSuccessResult: |
5135 | 0 | { |
5136 | 0 | new (mozilla::KnownNotNull, ptr_FileCreationSuccessResult()) FileCreationSuccessResult(std::move((aOther).get_FileCreationSuccessResult())); |
5137 | 0 | static_cast<void>((aOther).MaybeDestroy(T__None)); |
5138 | 0 | break; |
5139 | 0 | } |
5140 | 0 | case TFileCreationErrorResult: |
5141 | 0 | { |
5142 | 0 | new (mozilla::KnownNotNull, ptr_FileCreationErrorResult()) FileCreationErrorResult(std::move((aOther).get_FileCreationErrorResult())); |
5143 | 0 | static_cast<void>((aOther).MaybeDestroy(T__None)); |
5144 | 0 | break; |
5145 | 0 | } |
5146 | 0 | case T__None: |
5147 | 0 | { |
5148 | 0 | break; |
5149 | 0 | } |
5150 | 0 | default: |
5151 | 0 | { |
5152 | 0 | mozilla::ipc::LogicError("unreached"); |
5153 | 0 | return; |
5154 | 0 | } |
5155 | 0 | } |
5156 | 0 | (aOther).mType = T__None; |
5157 | 0 | mType = t; |
5158 | 0 | } |
5159 | | |
5160 | | FileCreationResult::~FileCreationResult() |
5161 | 0 | { |
5162 | 0 | static_cast<void>(MaybeDestroy(T__None)); |
5163 | 0 | } |
5164 | | |
5165 | | auto FileCreationResult::operator=(const FileCreationSuccessResult& aRhs) -> FileCreationResult& |
5166 | 0 | { |
5167 | 0 | if (MaybeDestroy(TFileCreationSuccessResult)) { |
5168 | 0 | new (mozilla::KnownNotNull, ptr_FileCreationSuccessResult()) FileCreationSuccessResult; |
5169 | 0 | } |
5170 | 0 | (*(ptr_FileCreationSuccessResult())) = aRhs; |
5171 | 0 | mType = TFileCreationSuccessResult; |
5172 | 0 | return (*(this)); |
5173 | 0 | } |
5174 | | |
5175 | | auto FileCreationResult::operator=(FileCreationSuccessResult&& aRhs) -> FileCreationResult& |
5176 | 0 | { |
5177 | 0 | if (MaybeDestroy(TFileCreationSuccessResult)) { |
5178 | 0 | new (mozilla::KnownNotNull, ptr_FileCreationSuccessResult()) FileCreationSuccessResult; |
5179 | 0 | } |
5180 | 0 | (*(ptr_FileCreationSuccessResult())) = std::move(aRhs); |
5181 | 0 | mType = TFileCreationSuccessResult; |
5182 | 0 | return (*(this)); |
5183 | 0 | } |
5184 | | |
5185 | | auto FileCreationResult::operator=(const FileCreationErrorResult& aRhs) -> FileCreationResult& |
5186 | 0 | { |
5187 | 0 | if (MaybeDestroy(TFileCreationErrorResult)) { |
5188 | 0 | new (mozilla::KnownNotNull, ptr_FileCreationErrorResult()) FileCreationErrorResult; |
5189 | 0 | } |
5190 | 0 | (*(ptr_FileCreationErrorResult())) = aRhs; |
5191 | 0 | mType = TFileCreationErrorResult; |
5192 | 0 | return (*(this)); |
5193 | 0 | } |
5194 | | |
5195 | | auto FileCreationResult::operator=(FileCreationErrorResult&& aRhs) -> FileCreationResult& |
5196 | 0 | { |
5197 | 0 | if (MaybeDestroy(TFileCreationErrorResult)) { |
5198 | 0 | new (mozilla::KnownNotNull, ptr_FileCreationErrorResult()) FileCreationErrorResult; |
5199 | 0 | } |
5200 | 0 | (*(ptr_FileCreationErrorResult())) = std::move(aRhs); |
5201 | 0 | mType = TFileCreationErrorResult; |
5202 | 0 | return (*(this)); |
5203 | 0 | } |
5204 | | |
5205 | | auto FileCreationResult::operator=(const FileCreationResult& aRhs) -> FileCreationResult& |
5206 | 0 | { |
5207 | 0 | (aRhs).AssertSanity(); |
5208 | 0 | Type t = (aRhs).type(); |
5209 | 0 | switch (t) { |
5210 | 0 | case TFileCreationSuccessResult: |
5211 | 0 | { |
5212 | 0 | if (MaybeDestroy(t)) { |
5213 | 0 | new (mozilla::KnownNotNull, ptr_FileCreationSuccessResult()) FileCreationSuccessResult; |
5214 | 0 | } |
5215 | 0 | (*(ptr_FileCreationSuccessResult())) = (aRhs).get_FileCreationSuccessResult(); |
5216 | 0 | break; |
5217 | 0 | } |
5218 | 0 | case TFileCreationErrorResult: |
5219 | 0 | { |
5220 | 0 | if (MaybeDestroy(t)) { |
5221 | 0 | new (mozilla::KnownNotNull, ptr_FileCreationErrorResult()) FileCreationErrorResult; |
5222 | 0 | } |
5223 | 0 | (*(ptr_FileCreationErrorResult())) = (aRhs).get_FileCreationErrorResult(); |
5224 | 0 | break; |
5225 | 0 | } |
5226 | 0 | case T__None: |
5227 | 0 | { |
5228 | 0 | static_cast<void>(MaybeDestroy(t)); |
5229 | 0 | break; |
5230 | 0 | } |
5231 | 0 | default: |
5232 | 0 | { |
5233 | 0 | mozilla::ipc::LogicError("unreached"); |
5234 | 0 | break; |
5235 | 0 | } |
5236 | 0 | } |
5237 | 0 | mType = t; |
5238 | 0 | return (*(this)); |
5239 | 0 | } |
5240 | | |
5241 | | auto FileCreationResult::operator=(FileCreationResult&& aRhs) -> FileCreationResult& |
5242 | 0 | { |
5243 | 0 | (aRhs).AssertSanity(); |
5244 | 0 | Type t = (aRhs).type(); |
5245 | 0 | switch (t) { |
5246 | 0 | case TFileCreationSuccessResult: |
5247 | 0 | { |
5248 | 0 | if (MaybeDestroy(t)) { |
5249 | 0 | new (mozilla::KnownNotNull, ptr_FileCreationSuccessResult()) FileCreationSuccessResult; |
5250 | 0 | } |
5251 | 0 | (*(ptr_FileCreationSuccessResult())) = std::move((aRhs).get_FileCreationSuccessResult()); |
5252 | 0 | static_cast<void>((aRhs).MaybeDestroy(T__None)); |
5253 | 0 | break; |
5254 | 0 | } |
5255 | 0 | case TFileCreationErrorResult: |
5256 | 0 | { |
5257 | 0 | if (MaybeDestroy(t)) { |
5258 | 0 | new (mozilla::KnownNotNull, ptr_FileCreationErrorResult()) FileCreationErrorResult; |
5259 | 0 | } |
5260 | 0 | (*(ptr_FileCreationErrorResult())) = std::move((aRhs).get_FileCreationErrorResult()); |
5261 | 0 | static_cast<void>((aRhs).MaybeDestroy(T__None)); |
5262 | 0 | break; |
5263 | 0 | } |
5264 | 0 | case T__None: |
5265 | 0 | { |
5266 | 0 | static_cast<void>(MaybeDestroy(t)); |
5267 | 0 | break; |
5268 | 0 | } |
5269 | 0 | default: |
5270 | 0 | { |
5271 | 0 | mozilla::ipc::LogicError("unreached"); |
5272 | 0 | break; |
5273 | 0 | } |
5274 | 0 | } |
5275 | 0 | (aRhs).mType = T__None; |
5276 | 0 | mType = t; |
5277 | 0 | return (*(this)); |
5278 | 0 | } |
5279 | | |
5280 | | auto FileCreationResult::operator==(const FileCreationSuccessResult& aRhs) const -> bool |
5281 | 0 | { |
5282 | 0 | return (get_FileCreationSuccessResult()) == (aRhs); |
5283 | 0 | } |
5284 | | |
5285 | | auto FileCreationResult::operator==(const FileCreationErrorResult& aRhs) const -> bool |
5286 | 0 | { |
5287 | 0 | return (get_FileCreationErrorResult()) == (aRhs); |
5288 | 0 | } |
5289 | | |
5290 | | auto FileCreationResult::operator==(const FileCreationResult& aRhs) const -> bool |
5291 | 0 | { |
5292 | 0 | if ((type()) != ((aRhs).type())) { |
5293 | 0 | return false; |
5294 | 0 | } |
5295 | 0 | |
5296 | 0 | switch (type()) { |
5297 | 0 | case TFileCreationSuccessResult: |
5298 | 0 | { |
5299 | 0 | return (get_FileCreationSuccessResult()) == ((aRhs).get_FileCreationSuccessResult()); |
5300 | 0 | } |
5301 | 0 | case TFileCreationErrorResult: |
5302 | 0 | { |
5303 | 0 | return (get_FileCreationErrorResult()) == ((aRhs).get_FileCreationErrorResult()); |
5304 | 0 | } |
5305 | 0 | default: |
5306 | 0 | { |
5307 | 0 | mozilla::ipc::LogicError("unreached"); |
5308 | 0 | return false; |
5309 | 0 | } |
5310 | 0 | } |
5311 | 0 | } |
5312 | | |
5313 | | auto FileCreationResult::get(FileCreationSuccessResult* aOutValue) const -> void |
5314 | 0 | { |
5315 | 0 | (*(aOutValue)) = get_FileCreationSuccessResult(); |
5316 | 0 | } |
5317 | | |
5318 | | auto FileCreationResult::get(FileCreationErrorResult* aOutValue) const -> void |
5319 | 0 | { |
5320 | 0 | (*(aOutValue)) = get_FileCreationErrorResult(); |
5321 | 0 | } |
5322 | | |
5323 | | } // namespace dom |
5324 | | } // namespace mozilla |
5325 | | |
5326 | | namespace mozilla { |
5327 | | namespace ipc { |
5328 | | auto IPDLParamTraits<mozilla::dom::FileCreationResult>::Write( |
5329 | | IPC::Message* aMsg, |
5330 | | mozilla::ipc::IProtocol* aActor, |
5331 | | const paramType& aVar) -> void |
5332 | | { |
5333 | | typedef mozilla::dom::FileCreationResult union__; |
5334 | | int type; |
5335 | | type = (aVar).type(); |
5336 | | WriteIPDLParam(aMsg, aActor, type); |
5337 | | // Sentinel = 'FileCreationResult' |
5338 | | (aMsg)->WriteSentinel(4116604968); |
5339 | | |
5340 | | switch (type) { |
5341 | | case union__::TFileCreationSuccessResult: |
5342 | | { |
5343 | | WriteIPDLParam(aMsg, aActor, (aVar).get_FileCreationSuccessResult()); |
5344 | | // Sentinel = 'TFileCreationSuccessResult' |
5345 | | (aMsg)->WriteSentinel(3762472511); |
5346 | | return; |
5347 | | } |
5348 | | case union__::TFileCreationErrorResult: |
5349 | | { |
5350 | | WriteIPDLParam(aMsg, aActor, (aVar).get_FileCreationErrorResult()); |
5351 | | // Sentinel = 'TFileCreationErrorResult' |
5352 | | (aMsg)->WriteSentinel(3521336454); |
5353 | | return; |
5354 | | } |
5355 | | default: |
5356 | | { |
5357 | | (aActor)->FatalError("unknown union type"); |
5358 | | return; |
5359 | | } |
5360 | | } |
5361 | | } |
5362 | | |
5363 | | auto IPDLParamTraits<mozilla::dom::FileCreationResult>::Read( |
5364 | | const IPC::Message* aMsg, |
5365 | | PickleIterator* aIter, |
5366 | | mozilla::ipc::IProtocol* aActor, |
5367 | | paramType* aVar) -> bool |
5368 | 0 | { |
5369 | 0 | typedef mozilla::dom::FileCreationResult union__; |
5370 | 0 | int type; |
5371 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&(type)))))) { |
5372 | 0 | (aActor)->FatalError("Error deserializing type of union FileCreationResult"); |
5373 | 0 | return false; |
5374 | 0 | } |
5375 | 0 | // Sentinel = 'FileCreationResult' |
5376 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 4116604968)))) { |
5377 | 0 | mozilla::ipc::SentinelReadError("Error deserializing type of union FileCreationResult"); |
5378 | 0 | return false; |
5379 | 0 | } |
5380 | 0 | |
5381 | 0 | switch (type) { |
5382 | 0 | case union__::TFileCreationSuccessResult: |
5383 | 0 | { |
5384 | 0 | mozilla::dom::FileCreationSuccessResult tmp = mozilla::dom::FileCreationSuccessResult(); |
5385 | 0 | (*(aVar)) = tmp; |
5386 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->get_FileCreationSuccessResult())))))) { |
5387 | 0 | (aActor)->FatalError("Error deserializing variant TFileCreationSuccessResult of union FileCreationResult"); |
5388 | 0 | return false; |
5389 | 0 | } |
5390 | 0 | // Sentinel = 'TFileCreationSuccessResult' |
5391 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 3762472511)))) { |
5392 | 0 | mozilla::ipc::SentinelReadError("Error deserializing variant TFileCreationSuccessResult of union FileCreationResult"); |
5393 | 0 | return false; |
5394 | 0 | } |
5395 | 0 | return true; |
5396 | 0 | } |
5397 | 0 | case union__::TFileCreationErrorResult: |
5398 | 0 | { |
5399 | 0 | mozilla::dom::FileCreationErrorResult tmp = mozilla::dom::FileCreationErrorResult(); |
5400 | 0 | (*(aVar)) = tmp; |
5401 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->get_FileCreationErrorResult())))))) { |
5402 | 0 | (aActor)->FatalError("Error deserializing variant TFileCreationErrorResult of union FileCreationResult"); |
5403 | 0 | return false; |
5404 | 0 | } |
5405 | 0 | // Sentinel = 'TFileCreationErrorResult' |
5406 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 3521336454)))) { |
5407 | 0 | mozilla::ipc::SentinelReadError("Error deserializing variant TFileCreationErrorResult of union FileCreationResult"); |
5408 | 0 | return false; |
5409 | 0 | } |
5410 | 0 | return true; |
5411 | 0 | } |
5412 | 0 | default: |
5413 | 0 | { |
5414 | 0 | (aActor)->FatalError("unknown union type"); |
5415 | 0 | return false; |
5416 | 0 | } |
5417 | 0 | } |
5418 | 0 | } |
5419 | | |
5420 | | } // namespace ipc |
5421 | | } // namespace mozilla |
5422 | | |
5423 | | //----------------------------------------------------------------------------- |
5424 | | // Method definitions for the IPDL type |struct BlobURLRegistrationData| |
5425 | | // |
5426 | | namespace mozilla { |
5427 | | namespace dom { |
5428 | | auto BlobURLRegistrationData::operator==(const BlobURLRegistrationData& _o) const -> bool |
5429 | 0 | { |
5430 | 0 | if ((!((url()) == ((_o).url())))) { |
5431 | 0 | return false; |
5432 | 0 | } |
5433 | 0 | if ((!((blob()) == ((_o).blob())))) { |
5434 | 0 | return false; |
5435 | 0 | } |
5436 | 0 | if ((!((principal()) == ((_o).principal())))) { |
5437 | 0 | return false; |
5438 | 0 | } |
5439 | 0 | if ((!((revoked()) == ((_o).revoked())))) { |
5440 | 0 | return false; |
5441 | 0 | } |
5442 | 0 | return true; |
5443 | 0 | } |
5444 | | |
5445 | | auto BlobURLRegistrationData::operator!=(const BlobURLRegistrationData& _o) const -> bool |
5446 | 0 | { |
5447 | 0 | return (!(operator==(_o))); |
5448 | 0 | } |
5449 | | |
5450 | | } // namespace dom |
5451 | | } // namespace mozilla |
5452 | | |
5453 | | namespace mozilla { |
5454 | | namespace ipc { |
5455 | | auto IPDLParamTraits<mozilla::dom::BlobURLRegistrationData>::Write( |
5456 | | IPC::Message* aMsg, |
5457 | | mozilla::ipc::IProtocol* aActor, |
5458 | | const paramType& aVar) -> void |
5459 | 0 | { |
5460 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).url()); |
5461 | 0 | // Sentinel = 'url' |
5462 | 0 | (aMsg)->WriteSentinel(1453210600); |
5463 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).blob()); |
5464 | 0 | // Sentinel = 'blob' |
5465 | 0 | (aMsg)->WriteSentinel(1963585077); |
5466 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).principal()); |
5467 | 0 | // Sentinel = 'principal' |
5468 | 0 | (aMsg)->WriteSentinel(732240927); |
5469 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).revoked()); |
5470 | 0 | // Sentinel = 'revoked' |
5471 | 0 | (aMsg)->WriteSentinel(2893307109); |
5472 | 0 | } |
5473 | | |
5474 | | auto IPDLParamTraits<mozilla::dom::BlobURLRegistrationData>::Read( |
5475 | | const IPC::Message* aMsg, |
5476 | | PickleIterator* aIter, |
5477 | | mozilla::ipc::IProtocol* aActor, |
5478 | | paramType* aVar) -> bool |
5479 | 0 | { |
5480 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->url())))))) { |
5481 | 0 | (aActor)->FatalError("Error deserializing 'url' (nsCString) member of 'BlobURLRegistrationData'"); |
5482 | 0 | return false; |
5483 | 0 | } |
5484 | 0 | // Sentinel = 'url' |
5485 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 1453210600)))) { |
5486 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'url' (nsCString) member of 'BlobURLRegistrationData'"); |
5487 | 0 | return false; |
5488 | 0 | } |
5489 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->blob())))))) { |
5490 | 0 | (aActor)->FatalError("Error deserializing 'blob' (IPCBlob) member of 'BlobURLRegistrationData'"); |
5491 | 0 | return false; |
5492 | 0 | } |
5493 | 0 | // Sentinel = 'blob' |
5494 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 1963585077)))) { |
5495 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'blob' (IPCBlob) member of 'BlobURLRegistrationData'"); |
5496 | 0 | return false; |
5497 | 0 | } |
5498 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->principal())))))) { |
5499 | 0 | (aActor)->FatalError("Error deserializing 'principal' (Principal) member of 'BlobURLRegistrationData'"); |
5500 | 0 | return false; |
5501 | 0 | } |
5502 | 0 | // Sentinel = 'principal' |
5503 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 732240927)))) { |
5504 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'principal' (Principal) member of 'BlobURLRegistrationData'"); |
5505 | 0 | return false; |
5506 | 0 | } |
5507 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->revoked())))))) { |
5508 | 0 | (aActor)->FatalError("Error deserializing 'revoked' (bool) member of 'BlobURLRegistrationData'"); |
5509 | 0 | return false; |
5510 | 0 | } |
5511 | 0 | // Sentinel = 'revoked' |
5512 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 2893307109)))) { |
5513 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'revoked' (bool) member of 'BlobURLRegistrationData'"); |
5514 | 0 | return false; |
5515 | 0 | } |
5516 | 0 | return true; |
5517 | 0 | } |
5518 | | |
5519 | | } // namespace ipc |
5520 | | } // namespace mozilla |
5521 | | |
5522 | | //----------------------------------------------------------------------------- |
5523 | | // Method definitions for the IPDL type |struct GMPAPITags| |
5524 | | // |
5525 | | namespace mozilla { |
5526 | | namespace dom { |
5527 | | auto GMPAPITags::operator==(const GMPAPITags& _o) const -> bool |
5528 | 0 | { |
5529 | 0 | if ((!((api()) == ((_o).api())))) { |
5530 | 0 | return false; |
5531 | 0 | } |
5532 | 0 | if ((!((tags()) == ((_o).tags())))) { |
5533 | 0 | return false; |
5534 | 0 | } |
5535 | 0 | return true; |
5536 | 0 | } |
5537 | | |
5538 | | auto GMPAPITags::operator!=(const GMPAPITags& _o) const -> bool |
5539 | 0 | { |
5540 | 0 | return (!(operator==(_o))); |
5541 | 0 | } |
5542 | | |
5543 | | } // namespace dom |
5544 | | } // namespace mozilla |
5545 | | |
5546 | | namespace mozilla { |
5547 | | namespace ipc { |
5548 | | auto IPDLParamTraits<mozilla::dom::GMPAPITags>::Write( |
5549 | | IPC::Message* aMsg, |
5550 | | mozilla::ipc::IProtocol* aActor, |
5551 | | const paramType& aVar) -> void |
5552 | 0 | { |
5553 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).api()); |
5554 | 0 | // Sentinel = 'api' |
5555 | 0 | (aMsg)->WriteSentinel(2712041747); |
5556 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).tags()); |
5557 | 0 | // Sentinel = 'tags' |
5558 | 0 | (aMsg)->WriteSentinel(2697818311); |
5559 | 0 | } |
5560 | | |
5561 | | auto IPDLParamTraits<mozilla::dom::GMPAPITags>::Read( |
5562 | | const IPC::Message* aMsg, |
5563 | | PickleIterator* aIter, |
5564 | | mozilla::ipc::IProtocol* aActor, |
5565 | | paramType* aVar) -> bool |
5566 | 0 | { |
5567 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->api())))))) { |
5568 | 0 | (aActor)->FatalError("Error deserializing 'api' (nsCString) member of 'GMPAPITags'"); |
5569 | 0 | return false; |
5570 | 0 | } |
5571 | 0 | // Sentinel = 'api' |
5572 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 2712041747)))) { |
5573 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'api' (nsCString) member of 'GMPAPITags'"); |
5574 | 0 | return false; |
5575 | 0 | } |
5576 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->tags())))))) { |
5577 | 0 | (aActor)->FatalError("Error deserializing 'tags' (nsCString[]) member of 'GMPAPITags'"); |
5578 | 0 | return false; |
5579 | 0 | } |
5580 | 0 | // Sentinel = 'tags' |
5581 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 2697818311)))) { |
5582 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'tags' (nsCString[]) member of 'GMPAPITags'"); |
5583 | 0 | return false; |
5584 | 0 | } |
5585 | 0 | return true; |
5586 | 0 | } |
5587 | | |
5588 | | } // namespace ipc |
5589 | | } // namespace mozilla |
5590 | | |
5591 | | //----------------------------------------------------------------------------- |
5592 | | // Method definitions for the IPDL type |struct GMPCapabilityData| |
5593 | | // |
5594 | | namespace mozilla { |
5595 | | namespace dom { |
5596 | | auto GMPCapabilityData::operator==(const GMPCapabilityData& _o) const -> bool |
5597 | 0 | { |
5598 | 0 | if ((!((name()) == ((_o).name())))) { |
5599 | 0 | return false; |
5600 | 0 | } |
5601 | 0 | if ((!((version()) == ((_o).version())))) { |
5602 | 0 | return false; |
5603 | 0 | } |
5604 | 0 | if ((!((capabilities()) == ((_o).capabilities())))) { |
5605 | 0 | return false; |
5606 | 0 | } |
5607 | 0 | return true; |
5608 | 0 | } |
5609 | | |
5610 | | auto GMPCapabilityData::operator!=(const GMPCapabilityData& _o) const -> bool |
5611 | 0 | { |
5612 | 0 | return (!(operator==(_o))); |
5613 | 0 | } |
5614 | | |
5615 | | } // namespace dom |
5616 | | } // namespace mozilla |
5617 | | |
5618 | | namespace mozilla { |
5619 | | namespace ipc { |
5620 | | auto IPDLParamTraits<mozilla::dom::GMPCapabilityData>::Write( |
5621 | | IPC::Message* aMsg, |
5622 | | mozilla::ipc::IProtocol* aActor, |
5623 | | const paramType& aVar) -> void |
5624 | 0 | { |
5625 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).name()); |
5626 | 0 | // Sentinel = 'name' |
5627 | 0 | (aMsg)->WriteSentinel(15034981); |
5628 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).version()); |
5629 | 0 | // Sentinel = 'version' |
5630 | 0 | (aMsg)->WriteSentinel(4003360947); |
5631 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).capabilities()); |
5632 | 0 | // Sentinel = 'capabilities' |
5633 | 0 | (aMsg)->WriteSentinel(4197121582); |
5634 | 0 | } |
5635 | | |
5636 | | auto IPDLParamTraits<mozilla::dom::GMPCapabilityData>::Read( |
5637 | | const IPC::Message* aMsg, |
5638 | | PickleIterator* aIter, |
5639 | | mozilla::ipc::IProtocol* aActor, |
5640 | | paramType* aVar) -> bool |
5641 | 0 | { |
5642 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->name())))))) { |
5643 | 0 | (aActor)->FatalError("Error deserializing 'name' (nsCString) member of 'GMPCapabilityData'"); |
5644 | 0 | return false; |
5645 | 0 | } |
5646 | 0 | // Sentinel = 'name' |
5647 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 15034981)))) { |
5648 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'name' (nsCString) member of 'GMPCapabilityData'"); |
5649 | 0 | return false; |
5650 | 0 | } |
5651 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->version())))))) { |
5652 | 0 | (aActor)->FatalError("Error deserializing 'version' (nsCString) member of 'GMPCapabilityData'"); |
5653 | 0 | return false; |
5654 | 0 | } |
5655 | 0 | // Sentinel = 'version' |
5656 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 4003360947)))) { |
5657 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'version' (nsCString) member of 'GMPCapabilityData'"); |
5658 | 0 | return false; |
5659 | 0 | } |
5660 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->capabilities())))))) { |
5661 | 0 | (aActor)->FatalError("Error deserializing 'capabilities' (GMPAPITags[]) member of 'GMPCapabilityData'"); |
5662 | 0 | return false; |
5663 | 0 | } |
5664 | 0 | // Sentinel = 'capabilities' |
5665 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 4197121582)))) { |
5666 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'capabilities' (GMPAPITags[]) member of 'GMPCapabilityData'"); |
5667 | 0 | return false; |
5668 | 0 | } |
5669 | 0 | return true; |
5670 | 0 | } |
5671 | | |
5672 | | } // namespace ipc |
5673 | | } // namespace mozilla |
5674 | | |
5675 | | //----------------------------------------------------------------------------- |
5676 | | // Method definitions for the IPDL type |struct GfxInfoFeatureStatus| |
5677 | | // |
5678 | | namespace mozilla { |
5679 | | namespace dom { |
5680 | | auto GfxInfoFeatureStatus::operator==(const GfxInfoFeatureStatus& _o) const -> bool |
5681 | 0 | { |
5682 | 0 | if ((!((feature()) == ((_o).feature())))) { |
5683 | 0 | return false; |
5684 | 0 | } |
5685 | 0 | if ((!((status()) == ((_o).status())))) { |
5686 | 0 | return false; |
5687 | 0 | } |
5688 | 0 | if ((!((failureId()) == ((_o).failureId())))) { |
5689 | 0 | return false; |
5690 | 0 | } |
5691 | 0 | return true; |
5692 | 0 | } |
5693 | | |
5694 | | auto GfxInfoFeatureStatus::operator!=(const GfxInfoFeatureStatus& _o) const -> bool |
5695 | 0 | { |
5696 | 0 | return (!(operator==(_o))); |
5697 | 0 | } |
5698 | | |
5699 | | } // namespace dom |
5700 | | } // namespace mozilla |
5701 | | |
5702 | | namespace mozilla { |
5703 | | namespace ipc { |
5704 | | auto IPDLParamTraits<mozilla::dom::GfxInfoFeatureStatus>::Write( |
5705 | | IPC::Message* aMsg, |
5706 | | mozilla::ipc::IProtocol* aActor, |
5707 | | const paramType& aVar) -> void |
5708 | 0 | { |
5709 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).feature()); |
5710 | 0 | // Sentinel = 'feature' |
5711 | 0 | (aMsg)->WriteSentinel(4241949101); |
5712 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).status()); |
5713 | 0 | // Sentinel = 'status' |
5714 | 0 | (aMsg)->WriteSentinel(3714608576); |
5715 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).failureId()); |
5716 | 0 | // Sentinel = 'failureId' |
5717 | 0 | (aMsg)->WriteSentinel(2726219852); |
5718 | 0 | } |
5719 | | |
5720 | | auto IPDLParamTraits<mozilla::dom::GfxInfoFeatureStatus>::Read( |
5721 | | const IPC::Message* aMsg, |
5722 | | PickleIterator* aIter, |
5723 | | mozilla::ipc::IProtocol* aActor, |
5724 | | paramType* aVar) -> bool |
5725 | 0 | { |
5726 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->feature())))))) { |
5727 | 0 | (aActor)->FatalError("Error deserializing 'feature' (int32_t) member of 'GfxInfoFeatureStatus'"); |
5728 | 0 | return false; |
5729 | 0 | } |
5730 | 0 | // Sentinel = 'feature' |
5731 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 4241949101)))) { |
5732 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'feature' (int32_t) member of 'GfxInfoFeatureStatus'"); |
5733 | 0 | return false; |
5734 | 0 | } |
5735 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->status())))))) { |
5736 | 0 | (aActor)->FatalError("Error deserializing 'status' (int32_t) member of 'GfxInfoFeatureStatus'"); |
5737 | 0 | return false; |
5738 | 0 | } |
5739 | 0 | // Sentinel = 'status' |
5740 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 3714608576)))) { |
5741 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'status' (int32_t) member of 'GfxInfoFeatureStatus'"); |
5742 | 0 | return false; |
5743 | 0 | } |
5744 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->failureId())))))) { |
5745 | 0 | (aActor)->FatalError("Error deserializing 'failureId' (nsCString) member of 'GfxInfoFeatureStatus'"); |
5746 | 0 | return false; |
5747 | 0 | } |
5748 | 0 | // Sentinel = 'failureId' |
5749 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 2726219852)))) { |
5750 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'failureId' (nsCString) member of 'GfxInfoFeatureStatus'"); |
5751 | 0 | return false; |
5752 | 0 | } |
5753 | 0 | return true; |
5754 | 0 | } |
5755 | | |
5756 | | } // namespace ipc |
5757 | | } // namespace mozilla |
5758 | | |
5759 | | //----------------------------------------------------------------------------- |
5760 | | // Method definitions for the IPDL type |struct XPCOMInitData| |
5761 | | // |
5762 | | namespace mozilla { |
5763 | | namespace dom { |
5764 | | auto XPCOMInitData::operator==(const XPCOMInitData& _o) const -> bool |
5765 | 0 | { |
5766 | 0 | if ((!((isOffline()) == ((_o).isOffline())))) { |
5767 | 0 | return false; |
5768 | 0 | } |
5769 | 0 | if ((!((isConnected()) == ((_o).isConnected())))) { |
5770 | 0 | return false; |
5771 | 0 | } |
5772 | 0 | if ((!((captivePortalState()) == ((_o).captivePortalState())))) { |
5773 | 0 | return false; |
5774 | 0 | } |
5775 | 0 | if ((!((isLangRTL()) == ((_o).isLangRTL())))) { |
5776 | 0 | return false; |
5777 | 0 | } |
5778 | 0 | if ((!((haveBidiKeyboards()) == ((_o).haveBidiKeyboards())))) { |
5779 | 0 | return false; |
5780 | 0 | } |
5781 | 0 | if ((!((dictionaries()) == ((_o).dictionaries())))) { |
5782 | 0 | return false; |
5783 | 0 | } |
5784 | 0 | if ((!((clipboardCaps()) == ((_o).clipboardCaps())))) { |
5785 | 0 | return false; |
5786 | 0 | } |
5787 | 0 | if ((!((domainPolicy()) == ((_o).domainPolicy())))) { |
5788 | 0 | return false; |
5789 | 0 | } |
5790 | 0 | if ((!((userContentSheetURL()) == ((_o).userContentSheetURL())))) { |
5791 | 0 | return false; |
5792 | 0 | } |
5793 | 0 | if ((!((gfxNonDefaultVarUpdates()) == ((_o).gfxNonDefaultVarUpdates())))) { |
5794 | 0 | return false; |
5795 | 0 | } |
5796 | 0 | if ((!((contentDeviceData()) == ((_o).contentDeviceData())))) { |
5797 | 0 | return false; |
5798 | 0 | } |
5799 | 0 | if ((!((gfxFeatureStatus()) == ((_o).gfxFeatureStatus())))) { |
5800 | 0 | return false; |
5801 | 0 | } |
5802 | 0 | if ((!((dataStorage()) == ((_o).dataStorage())))) { |
5803 | 0 | return false; |
5804 | 0 | } |
5805 | 0 | if ((!((appLocales()) == ((_o).appLocales())))) { |
5806 | 0 | return false; |
5807 | 0 | } |
5808 | 0 | if ((!((requestedLocales()) == ((_o).requestedLocales())))) { |
5809 | 0 | return false; |
5810 | 0 | } |
5811 | 0 | if ((!((dynamicScalarDefs()) == ((_o).dynamicScalarDefs())))) { |
5812 | 0 | return false; |
5813 | 0 | } |
5814 | 0 | return true; |
5815 | 0 | } |
5816 | | |
5817 | | auto XPCOMInitData::operator!=(const XPCOMInitData& _o) const -> bool |
5818 | 0 | { |
5819 | 0 | return (!(operator==(_o))); |
5820 | 0 | } |
5821 | | |
5822 | | } // namespace dom |
5823 | | } // namespace mozilla |
5824 | | |
5825 | | namespace mozilla { |
5826 | | namespace ipc { |
5827 | | auto IPDLParamTraits<mozilla::dom::XPCOMInitData>::Write( |
5828 | | IPC::Message* aMsg, |
5829 | | mozilla::ipc::IProtocol* aActor, |
5830 | | const paramType& aVar) -> void |
5831 | 0 | { |
5832 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).isOffline()); |
5833 | 0 | // Sentinel = 'isOffline' |
5834 | 0 | (aMsg)->WriteSentinel(955516060); |
5835 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).isConnected()); |
5836 | 0 | // Sentinel = 'isConnected' |
5837 | 0 | (aMsg)->WriteSentinel(3042772238); |
5838 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).captivePortalState()); |
5839 | 0 | // Sentinel = 'captivePortalState' |
5840 | 0 | (aMsg)->WriteSentinel(3158015853); |
5841 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).isLangRTL()); |
5842 | 0 | // Sentinel = 'isLangRTL' |
5843 | 0 | (aMsg)->WriteSentinel(1112035623); |
5844 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).haveBidiKeyboards()); |
5845 | 0 | // Sentinel = 'haveBidiKeyboards' |
5846 | 0 | (aMsg)->WriteSentinel(4121278935); |
5847 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).dictionaries()); |
5848 | 0 | // Sentinel = 'dictionaries' |
5849 | 0 | (aMsg)->WriteSentinel(3810082412); |
5850 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).clipboardCaps()); |
5851 | 0 | // Sentinel = 'clipboardCaps' |
5852 | 0 | (aMsg)->WriteSentinel(1888724152); |
5853 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).domainPolicy()); |
5854 | 0 | // Sentinel = 'domainPolicy' |
5855 | 0 | (aMsg)->WriteSentinel(995607230); |
5856 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).userContentSheetURL()); |
5857 | 0 | // Sentinel = 'userContentSheetURL' |
5858 | 0 | (aMsg)->WriteSentinel(2010809315); |
5859 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).gfxNonDefaultVarUpdates()); |
5860 | 0 | // Sentinel = 'gfxNonDefaultVarUpdates' |
5861 | 0 | (aMsg)->WriteSentinel(1323016817); |
5862 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).contentDeviceData()); |
5863 | 0 | // Sentinel = 'contentDeviceData' |
5864 | 0 | (aMsg)->WriteSentinel(4270682216); |
5865 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).gfxFeatureStatus()); |
5866 | 0 | // Sentinel = 'gfxFeatureStatus' |
5867 | 0 | (aMsg)->WriteSentinel(3984590747); |
5868 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).dataStorage()); |
5869 | 0 | // Sentinel = 'dataStorage' |
5870 | 0 | (aMsg)->WriteSentinel(2429691432); |
5871 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).appLocales()); |
5872 | 0 | // Sentinel = 'appLocales' |
5873 | 0 | (aMsg)->WriteSentinel(2758913044); |
5874 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).requestedLocales()); |
5875 | 0 | // Sentinel = 'requestedLocales' |
5876 | 0 | (aMsg)->WriteSentinel(2758015985); |
5877 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).dynamicScalarDefs()); |
5878 | 0 | // Sentinel = 'dynamicScalarDefs' |
5879 | 0 | (aMsg)->WriteSentinel(636569882); |
5880 | 0 | } |
5881 | | |
5882 | | auto IPDLParamTraits<mozilla::dom::XPCOMInitData>::Read( |
5883 | | const IPC::Message* aMsg, |
5884 | | PickleIterator* aIter, |
5885 | | mozilla::ipc::IProtocol* aActor, |
5886 | | paramType* aVar) -> bool |
5887 | 0 | { |
5888 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->isOffline())))))) { |
5889 | 0 | (aActor)->FatalError("Error deserializing 'isOffline' (bool) member of 'XPCOMInitData'"); |
5890 | 0 | return false; |
5891 | 0 | } |
5892 | 0 | // Sentinel = 'isOffline' |
5893 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 955516060)))) { |
5894 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'isOffline' (bool) member of 'XPCOMInitData'"); |
5895 | 0 | return false; |
5896 | 0 | } |
5897 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->isConnected())))))) { |
5898 | 0 | (aActor)->FatalError("Error deserializing 'isConnected' (bool) member of 'XPCOMInitData'"); |
5899 | 0 | return false; |
5900 | 0 | } |
5901 | 0 | // Sentinel = 'isConnected' |
5902 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 3042772238)))) { |
5903 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'isConnected' (bool) member of 'XPCOMInitData'"); |
5904 | 0 | return false; |
5905 | 0 | } |
5906 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->captivePortalState())))))) { |
5907 | 0 | (aActor)->FatalError("Error deserializing 'captivePortalState' (int32_t) member of 'XPCOMInitData'"); |
5908 | 0 | return false; |
5909 | 0 | } |
5910 | 0 | // Sentinel = 'captivePortalState' |
5911 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 3158015853)))) { |
5912 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'captivePortalState' (int32_t) member of 'XPCOMInitData'"); |
5913 | 0 | return false; |
5914 | 0 | } |
5915 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->isLangRTL())))))) { |
5916 | 0 | (aActor)->FatalError("Error deserializing 'isLangRTL' (bool) member of 'XPCOMInitData'"); |
5917 | 0 | return false; |
5918 | 0 | } |
5919 | 0 | // Sentinel = 'isLangRTL' |
5920 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 1112035623)))) { |
5921 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'isLangRTL' (bool) member of 'XPCOMInitData'"); |
5922 | 0 | return false; |
5923 | 0 | } |
5924 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->haveBidiKeyboards())))))) { |
5925 | 0 | (aActor)->FatalError("Error deserializing 'haveBidiKeyboards' (bool) member of 'XPCOMInitData'"); |
5926 | 0 | return false; |
5927 | 0 | } |
5928 | 0 | // Sentinel = 'haveBidiKeyboards' |
5929 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 4121278935)))) { |
5930 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'haveBidiKeyboards' (bool) member of 'XPCOMInitData'"); |
5931 | 0 | return false; |
5932 | 0 | } |
5933 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->dictionaries())))))) { |
5934 | 0 | (aActor)->FatalError("Error deserializing 'dictionaries' (nsString[]) member of 'XPCOMInitData'"); |
5935 | 0 | return false; |
5936 | 0 | } |
5937 | 0 | // Sentinel = 'dictionaries' |
5938 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 3810082412)))) { |
5939 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'dictionaries' (nsString[]) member of 'XPCOMInitData'"); |
5940 | 0 | return false; |
5941 | 0 | } |
5942 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->clipboardCaps())))))) { |
5943 | 0 | (aActor)->FatalError("Error deserializing 'clipboardCaps' (ClipboardCapabilities) member of 'XPCOMInitData'"); |
5944 | 0 | return false; |
5945 | 0 | } |
5946 | 0 | // Sentinel = 'clipboardCaps' |
5947 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 1888724152)))) { |
5948 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'clipboardCaps' (ClipboardCapabilities) member of 'XPCOMInitData'"); |
5949 | 0 | return false; |
5950 | 0 | } |
5951 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->domainPolicy())))))) { |
5952 | 0 | (aActor)->FatalError("Error deserializing 'domainPolicy' (DomainPolicyClone) member of 'XPCOMInitData'"); |
5953 | 0 | return false; |
5954 | 0 | } |
5955 | 0 | // Sentinel = 'domainPolicy' |
5956 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 995607230)))) { |
5957 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'domainPolicy' (DomainPolicyClone) member of 'XPCOMInitData'"); |
5958 | 0 | return false; |
5959 | 0 | } |
5960 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->userContentSheetURL())))))) { |
5961 | 0 | (aActor)->FatalError("Error deserializing 'userContentSheetURL' (OptionalURIParams) member of 'XPCOMInitData'"); |
5962 | 0 | return false; |
5963 | 0 | } |
5964 | 0 | // Sentinel = 'userContentSheetURL' |
5965 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 2010809315)))) { |
5966 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'userContentSheetURL' (OptionalURIParams) member of 'XPCOMInitData'"); |
5967 | 0 | return false; |
5968 | 0 | } |
5969 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->gfxNonDefaultVarUpdates())))))) { |
5970 | 0 | (aActor)->FatalError("Error deserializing 'gfxNonDefaultVarUpdates' (GfxVarUpdate[]) member of 'XPCOMInitData'"); |
5971 | 0 | return false; |
5972 | 0 | } |
5973 | 0 | // Sentinel = 'gfxNonDefaultVarUpdates' |
5974 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 1323016817)))) { |
5975 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'gfxNonDefaultVarUpdates' (GfxVarUpdate[]) member of 'XPCOMInitData'"); |
5976 | 0 | return false; |
5977 | 0 | } |
5978 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->contentDeviceData())))))) { |
5979 | 0 | (aActor)->FatalError("Error deserializing 'contentDeviceData' (ContentDeviceData) member of 'XPCOMInitData'"); |
5980 | 0 | return false; |
5981 | 0 | } |
5982 | 0 | // Sentinel = 'contentDeviceData' |
5983 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 4270682216)))) { |
5984 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'contentDeviceData' (ContentDeviceData) member of 'XPCOMInitData'"); |
5985 | 0 | return false; |
5986 | 0 | } |
5987 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->gfxFeatureStatus())))))) { |
5988 | 0 | (aActor)->FatalError("Error deserializing 'gfxFeatureStatus' (GfxInfoFeatureStatus[]) member of 'XPCOMInitData'"); |
5989 | 0 | return false; |
5990 | 0 | } |
5991 | 0 | // Sentinel = 'gfxFeatureStatus' |
5992 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 3984590747)))) { |
5993 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'gfxFeatureStatus' (GfxInfoFeatureStatus[]) member of 'XPCOMInitData'"); |
5994 | 0 | return false; |
5995 | 0 | } |
5996 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->dataStorage())))))) { |
5997 | 0 | (aActor)->FatalError("Error deserializing 'dataStorage' (DataStorageEntry[]) member of 'XPCOMInitData'"); |
5998 | 0 | return false; |
5999 | 0 | } |
6000 | 0 | // Sentinel = 'dataStorage' |
6001 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 2429691432)))) { |
6002 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'dataStorage' (DataStorageEntry[]) member of 'XPCOMInitData'"); |
6003 | 0 | return false; |
6004 | 0 | } |
6005 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->appLocales())))))) { |
6006 | 0 | (aActor)->FatalError("Error deserializing 'appLocales' (nsCString[]) member of 'XPCOMInitData'"); |
6007 | 0 | return false; |
6008 | 0 | } |
6009 | 0 | // Sentinel = 'appLocales' |
6010 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 2758913044)))) { |
6011 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'appLocales' (nsCString[]) member of 'XPCOMInitData'"); |
6012 | 0 | return false; |
6013 | 0 | } |
6014 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->requestedLocales())))))) { |
6015 | 0 | (aActor)->FatalError("Error deserializing 'requestedLocales' (nsCString[]) member of 'XPCOMInitData'"); |
6016 | 0 | return false; |
6017 | 0 | } |
6018 | 0 | // Sentinel = 'requestedLocales' |
6019 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 2758015985)))) { |
6020 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'requestedLocales' (nsCString[]) member of 'XPCOMInitData'"); |
6021 | 0 | return false; |
6022 | 0 | } |
6023 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->dynamicScalarDefs())))))) { |
6024 | 0 | (aActor)->FatalError("Error deserializing 'dynamicScalarDefs' (DynamicScalarDefinition[]) member of 'XPCOMInitData'"); |
6025 | 0 | return false; |
6026 | 0 | } |
6027 | 0 | // Sentinel = 'dynamicScalarDefs' |
6028 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 636569882)))) { |
6029 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'dynamicScalarDefs' (DynamicScalarDefinition[]) member of 'XPCOMInitData'"); |
6030 | 0 | return false; |
6031 | 0 | } |
6032 | 0 | return true; |
6033 | 0 | } |
6034 | | |
6035 | | } // namespace ipc |
6036 | | } // namespace mozilla |
6037 | | |
6038 | | //----------------------------------------------------------------------------- |
6039 | | // Method definitions for the IPDL type |struct StringBundleDescriptor| |
6040 | | // |
6041 | | namespace mozilla { |
6042 | | namespace dom { |
6043 | | auto StringBundleDescriptor::operator==(const StringBundleDescriptor& _o) const -> bool |
6044 | 0 | { |
6045 | 0 | if ((!((bundleURL()) == ((_o).bundleURL())))) { |
6046 | 0 | return false; |
6047 | 0 | } |
6048 | 0 | if ((!((mapFile()) == ((_o).mapFile())))) { |
6049 | 0 | return false; |
6050 | 0 | } |
6051 | 0 | if ((!((mapSize()) == ((_o).mapSize())))) { |
6052 | 0 | return false; |
6053 | 0 | } |
6054 | 0 | return true; |
6055 | 0 | } |
6056 | | |
6057 | | auto StringBundleDescriptor::operator!=(const StringBundleDescriptor& _o) const -> bool |
6058 | 0 | { |
6059 | 0 | return (!(operator==(_o))); |
6060 | 0 | } |
6061 | | |
6062 | | } // namespace dom |
6063 | | } // namespace mozilla |
6064 | | |
6065 | | namespace mozilla { |
6066 | | namespace ipc { |
6067 | | auto IPDLParamTraits<mozilla::dom::StringBundleDescriptor>::Write( |
6068 | | IPC::Message* aMsg, |
6069 | | mozilla::ipc::IProtocol* aActor, |
6070 | | const paramType& aVar) -> void |
6071 | 0 | { |
6072 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).bundleURL()); |
6073 | 0 | // Sentinel = 'bundleURL' |
6074 | 0 | (aMsg)->WriteSentinel(1892792218); |
6075 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).mapFile()); |
6076 | 0 | // Sentinel = 'mapFile' |
6077 | 0 | (aMsg)->WriteSentinel(66221031); |
6078 | 0 | WriteIPDLParam(aMsg, aActor, (aVar).mapSize()); |
6079 | 0 | // Sentinel = 'mapSize' |
6080 | 0 | (aMsg)->WriteSentinel(699077322); |
6081 | 0 | } |
6082 | | |
6083 | | auto IPDLParamTraits<mozilla::dom::StringBundleDescriptor>::Read( |
6084 | | const IPC::Message* aMsg, |
6085 | | PickleIterator* aIter, |
6086 | | mozilla::ipc::IProtocol* aActor, |
6087 | | paramType* aVar) -> bool |
6088 | 0 | { |
6089 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->bundleURL())))))) { |
6090 | 0 | (aActor)->FatalError("Error deserializing 'bundleURL' (nsCString) member of 'StringBundleDescriptor'"); |
6091 | 0 | return false; |
6092 | 0 | } |
6093 | 0 | // Sentinel = 'bundleURL' |
6094 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 1892792218)))) { |
6095 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'bundleURL' (nsCString) member of 'StringBundleDescriptor'"); |
6096 | 0 | return false; |
6097 | 0 | } |
6098 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->mapFile())))))) { |
6099 | 0 | (aActor)->FatalError("Error deserializing 'mapFile' (FileDescriptor) member of 'StringBundleDescriptor'"); |
6100 | 0 | return false; |
6101 | 0 | } |
6102 | 0 | // Sentinel = 'mapFile' |
6103 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 66221031)))) { |
6104 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'mapFile' (FileDescriptor) member of 'StringBundleDescriptor'"); |
6105 | 0 | return false; |
6106 | 0 | } |
6107 | 0 | if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->mapSize())))))) { |
6108 | 0 | (aActor)->FatalError("Error deserializing 'mapSize' (uint32_t) member of 'StringBundleDescriptor'"); |
6109 | 0 | return false; |
6110 | 0 | } |
6111 | 0 | // Sentinel = 'mapSize' |
6112 | 0 | if ((!((aMsg)->ReadSentinel(aIter, 699077322)))) { |
6113 | 0 | mozilla::ipc::SentinelReadError("Error deserializing 'mapSize' (uint32_t) member of 'StringBundleDescriptor'"); |
6114 | 0 | return false; |
6115 | 0 | } |
6116 | 0 | return true; |
6117 | 0 | } |
6118 | | |
6119 | | } // namespace ipc |
6120 | | } // namespace mozilla |