#include "services/service_manager/public/cpp/service_executable/service_executable_environment.h"
#include "base/check.h"
#include "base/command_line.h"
#include "base/message_loop/message_pump_type.h"
#include "base/synchronization/waitable_event.h"
#include "base/task/current_thread.h"
#include "base/task/thread_pool/thread_pool_instance.h"
#include "build/build_config.h"
#include "mojo/core/embedder/embedder.h"
#include "mojo/public/cpp/platform/platform_channel.h"
#include "mojo/public/cpp/system/invitation.h"
#include "mojo/public/cpp/system/message_pipe.h"
#include "sandbox/policy/sandbox.h"
#include "sandbox/policy/switches.h"
#include "services/service_manager/public/cpp/service_executable/switches.h"
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
#include "base/rand_util.h"
#include "base/system/sys_info.h"
#include "sandbox/policy/linux/sandbox_linux.h"
#include "sandbox/policy/sandbox_type.h"
#endif
namespace service_manager {
ServiceExecutableEnvironment::ServiceExecutableEnvironment()
: … { … }
ServiceExecutableEnvironment::~ServiceExecutableEnvironment() = default;
mojo::PendingReceiver<mojom::Service>
ServiceExecutableEnvironment::TakeServiceRequestFromCommandLine() { … }
}