Bug 1833854 - Part 2: Common up GCSchedulingTunables invariant checks r=sfink
[gecko.git] / xpcom / build / XREShellData.h
bloba0f736f658fade8451f12467b3501ff1139a7ad9
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/. */
7 #ifndef XREShellData_h
8 #define XREShellData_h
10 #if defined(LIBFUZZER)
11 # include "FuzzerRegistry.h" // LibFuzzerDriver
12 #endif
14 #if defined(XP_WIN) && defined(MOZ_SANDBOX)
15 namespace sandbox {
16 class BrokerServices;
18 #endif
20 /**
21 * Data needed by XRE_XPCShellMain.
23 struct XREShellData {
24 #if defined(XP_WIN) && defined(MOZ_SANDBOX)
25 /**
26 * Chromium sandbox BrokerServices.
28 sandbox::BrokerServices* sandboxBrokerServices;
29 #endif
30 #if defined(ANDROID)
31 FILE* outFile;
32 FILE* errFile;
33 #endif
34 #if defined(LIBFUZZER)
35 LibFuzzerDriver fuzzerDriver;
36 #endif
39 #endif // XREShellData_h