Bumping gaia.json for 3 gaia-central revision(s) a=gaia-bump
[gecko.git] / ipc / glue / URIParams.ipdlh
blob127d0b5b18ff9d2358b8164f9157271f12193e57
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this
3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 include "ipc/IPCMessageUtils.h";
7 using mozilla::void_t;
9 namespace mozilla {
10 namespace ipc {
12 struct SimpleURIParams
14   nsCString scheme;
15   nsCString path;
16   nsCString ref;
17   bool isMutable;
20 struct StandardURLSegment
22   uint32_t position;
23   int32_t length;
26 struct StandardURLParams
28   uint32_t urlType;
29   int32_t port;
30   int32_t defaultPort;
31   nsCString spec;
32   StandardURLSegment scheme;
33   StandardURLSegment authority;
34   StandardURLSegment username;
35   StandardURLSegment password;
36   StandardURLSegment host;
37   StandardURLSegment path;
38   StandardURLSegment filePath;
39   StandardURLSegment directory;
40   StandardURLSegment baseName;
41   StandardURLSegment extension;
42   StandardURLSegment query;
43   StandardURLSegment ref;
44   nsCString originCharset;
45   bool isMutable;
46   bool supportsFileURL;
47   uint32_t hostEncoding;
50 struct JARURIParams
52   URIParams jarFile;
53   URIParams jarEntry;
54   nsCString charset;
57 struct GenericURIParams
59   nsCString spec;
60   nsCString charset;
63 union URIParams
65   SimpleURIParams;
66   StandardURLParams;
67   JARURIParams;
68   GenericURIParams;
71 union OptionalURIParams
73   void_t;
74   URIParams;
77 } // namespace ipc
78 } // namespace mozilla