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 from geckoprocesstypes
import process_types
11 /* THIS FILE IS GENERATED BY gen_process_types.py - DO NOT EDIT */
15 for p
in process_types
:
18 #ifndef SKIP_PROCESS_TYPE_%(allcaps_name)s
19 GECKO_PROCESS_TYPE(%(enum_value)d, %(enum_name)s, "%(string_name)s", """
20 """%(proc_typename)s, %(process_bin_type)s, %(procinfo_typename)s, """
21 """%(webidl_typename)s, %(allcaps_name)s)
22 #endif // SKIP_PROCESS_TYPE_%(allcaps_name)s
25 "enum_value": p
.enum_value
,
26 "enum_name": p
.enum_name
,
27 "string_name": p
.string_name
,
28 "proc_typename": p
.proc_typename
,
29 "process_bin_type": p
.process_bin_type
,
30 "procinfo_typename": p
.procinfo_typename
,
31 "webidl_typename": p
.webidl_typename
,
32 "allcaps_name": p
.allcaps_name
,