blob: e81c01ea4728c17769abfbfde9576debc4c43509 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- chrome/browser/media/audio_service_util.cc.orig 2024-06-18 21:43:22 UTC
+++ chrome/browser/media/audio_service_util.cc
@@ -21,7 +21,7 @@ namespace {
namespace {
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) || \
(BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS_LACROS))
const base::Value* GetPolicy(const char* policy_name) {
const policy::PolicyMap& policies =
@@ -43,7 +43,7 @@ bool IsAudioServiceSandboxEnabled() {
bool IsAudioServiceSandboxEnabled() {
// TODO(crbug.com/40118868): Remove !IS_CHROMEOS_LACROS once lacros starts being
// built with OS_CHROMEOS instead of OS_LINUX.
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || \
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) || \
(BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS_LACROS))
return GetPolicyOrFeature(policy::key::kAudioSandboxEnabled,
features::kAudioServiceSandbox);
|