blob: 08b117f343a5e0fa0ddf43ac7342ab1b0b125b63 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- extensions/shell/browser/shell_extensions_api_client.cc.orig 2025-04-22 20:15:27 UTC
+++ extensions/shell/browser/shell_extensions_api_client.cc
@@ -18,7 +18,7 @@
#include "extensions/shell/browser/shell_virtual_keyboard_delegate.h"
#include "extensions/shell/browser/shell_web_view_guest_delegate.h"
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
#include "extensions/shell/browser/api/file_system/shell_file_system_delegate.h"
#endif
@@ -56,7 +56,7 @@ ShellExtensionsAPIClient::CreateDisplayInfoProvider()
return std::make_unique<ShellDisplayInfoProvider>();
}
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
FileSystemDelegate* ShellExtensionsAPIClient::GetFileSystemDelegate() {
if (!file_system_delegate_)
file_system_delegate_ = std::make_unique<ShellFileSystemDelegate>();
|