Bug 1834537 - Part 6: Simplify GCRuntime::checkAllocatorState a little r=sfink
[gecko.git] / ipc / glue / UtilityProcessSandboxing.h
blob7aac77e0e99314f36236a5ad983bae4dd3fe8239
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #ifndef _include_ipc_glue_UtilityProcessSandboxing_h_
7 #define _include_ipc_glue_UtilityProcessSandboxing_h_
9 #include <stdint.h>
11 namespace mozilla {
13 namespace ipc {
15 // When adding a new value, the checks within UtilityProcessImpl::Init() needs
16 // to be updated as well.
17 enum SandboxingKind : uint64_t {
19 GENERIC_UTILITY,
21 #ifdef MOZ_APPLEMEDIA
22 UTILITY_AUDIO_DECODING_APPLE_MEDIA,
23 #endif
24 #ifdef XP_WIN
25 UTILITY_AUDIO_DECODING_WMF,
26 #endif
27 #ifdef MOZ_WMF_MEDIA_ENGINE
28 MF_MEDIA_ENGINE_CDM,
29 #endif
30 #ifdef XP_WIN
31 WINDOWS_UTILS,
32 #endif
34 COUNT,
38 } // namespace ipc
40 } // namespace mozilla
42 #endif // _include_ipc_glue_UtilityProcessSandboxing_h_