Bug 1892041 - Part 3: Update test exclusions. r=spidermonkey-reviewers,dminor
[gecko.git] / xpcom / build / XREChildData.h
blob8050fb8afc0d2ab923c0a8c9851ab3c3c63024b7
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 XREChildData_h
8 #define XREChildData_h
10 #include "mozilla/UniquePtr.h"
12 #if defined(XP_WIN) && defined(MOZ_SANDBOX)
13 # include "mozilla/sandboxing/loggingTypes.h"
15 namespace sandbox {
16 class BrokerServices;
17 class TargetServices;
18 } // namespace sandbox
19 #endif
21 /**
22 * Data needed to start a child process.
24 struct XREChildData {
25 #if defined(XP_WIN) && defined(MOZ_SANDBOX)
26 /**
27 * Chromium sandbox TargetServices.
29 sandbox::TargetServices* sandboxTargetServices = nullptr;
31 /**
32 * Function to provide a logging function to the chromium sandbox code.
34 mozilla::sandboxing::ProvideLogFunctionCb ProvideLogFunction = nullptr;
36 /**
37 * Chromium sandbox broker services; needed by the remote sandbox
38 * launcher process.
40 sandbox::BrokerServices* sandboxBrokerServices = nullptr;
41 #endif
44 #endif // XREChildData_h