blob: bbd1ce06d0a0527357f603d20331c98a92f8aac6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
--- weblayer/browser/content_browser_client_impl.cc.orig 2021-04-14 18:41:39 UTC
+++ weblayer/browser/content_browser_client_impl.cc
@@ -145,7 +145,7 @@
// TODO(crbug.com/1052397): Revisit once build flag switch of lacros-chrome is
// complete.
-#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_ANDROID)
+#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_ANDROID) || defined(OS_BSD)
#include "content/public/common/content_descriptors.h"
#endif
@@ -470,7 +470,7 @@ void ContentBrowserClientImpl::OnNetworkServiceCreated
embedder_support::GetUserAgent());
// TODO(crbug.com/1052397): Revisit once build flag switch of lacros-chrome is
// complete.
-#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD)
network::mojom::CryptConfigPtr config = network::mojom::CryptConfig::New();
content::GetNetworkService()->SetCryptConfig(std::move(config));
#endif
@@ -946,7 +946,7 @@ SafeBrowsingService* ContentBrowserClientImpl::GetSafe
// TODO(crbug.com/1052397): Revisit once build flag switch of lacros-chrome is
// complete.
-#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_ANDROID)
+#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_ANDROID) || defined(OS_BSD)
void ContentBrowserClientImpl::GetAdditionalMappedFilesForChildProcess(
const base::CommandLine& command_line,
int child_process_id,
@@ -980,7 +980,7 @@ void ContentBrowserClientImpl::GetAdditionalMappedFile
mappings->Share(kCrashDumpSignal, crash_signal_fd);
#endif // defined(OS_ANDROID)
}
-#endif // defined(OS_LINUX)|| defined(OS_ANDROID)
+#endif // defined(OS_LINUX)|| defined(OS_ANDROID) || defined(OS_BSD)
void ContentBrowserClientImpl::AppendExtraCommandLineSwitches(
base::CommandLine* command_line,
|