// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "media/gpu/sandbox/hardware_video_encoding_sandbox_hook_linux.h" #include <dlfcn.h> #include <sys/stat.h> #include "base/strings/stringprintf.h" #include "media/gpu/buildflags.h" #if BUILDFLAG(USE_VAAPI) #include "media/gpu/vaapi/vaapi_wrapper.h" #endif #if BUILDFLAG(USE_V4L2_CODEC) #include "media/gpu/v4l2/v4l2_device.h" #endif BrokerFilePermission; namespace media { bool HardwareVideoEncodingPreSandboxHook( sandbox::policy::SandboxLinux::Options options) { … } } // namespace media