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_
15 // When adding a new value, the checks within UtilityProcessImpl::Init() needs
16 // to be updated as well.
17 enum SandboxingKind
: uint64_t {
22 UTILITY_AUDIO_DECODING_APPLE_MEDIA
,
25 UTILITY_AUDIO_DECODING_WMF
,
27 #ifdef MOZ_WMF_MEDIA_ENGINE
39 bool IsUtilitySandboxEnabled(const char* envVar
, SandboxingKind aKind
);
40 bool IsUtilitySandboxEnabled(SandboxingKind aKind
);
44 } // namespace mozilla
46 #endif // _include_ipc_glue_UtilityProcessSandboxing_h_