1 /* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #ifndef THEBES_RLBOX_TYPES
7 #define THEBES_RLBOX_TYPES
9 #include "mozilla/rlbox/rlbox_types.hpp"
11 #ifdef MOZ_WASM_SANDBOXING_GRAPHITE
13 class rlbox_lucet_sandbox
;
15 using rlbox_gr_sandbox_type
= rlbox::rlbox_lucet_sandbox
;
17 using rlbox_gr_sandbox_type
= rlbox::rlbox_noop_sandbox
;
20 using rlbox_sandbox_gr
= rlbox::rlbox_sandbox
<rlbox_gr_sandbox_type
>;
22 using sandbox_callback_gr
= rlbox::sandbox_callback
<T
, rlbox_gr_sandbox_type
>;
24 using tainted_gr
= rlbox::tainted
<T
, rlbox_gr_sandbox_type
>;
26 using tainted_opaque_gr
= rlbox::tainted_opaque
<T
, rlbox_gr_sandbox_type
>;
28 using tainted_volatile_gr
= rlbox::tainted_volatile
<T
, rlbox_gr_sandbox_type
>;
29 using rlbox::tainted_boolean_hint
;