aboutsummaryrefslogtreecommitdiff
path: root/devel/electron23/files/patch-components_safe__browsing_content_common_file__type__policies__unittest.cc
blob: 92f539f394efa2d9b32b7d94f09c8fac4476b373 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- components/safe_browsing/content/common/file_type_policies_unittest.cc.orig	2022-03-25 21:59:56 UTC
+++ components/safe_browsing/content/common/file_type_policies_unittest.cc
@@ -139,7 +139,7 @@ TEST_F(FileTypePoliciesTest, UnpackResourceBundle) {
   EXPECT_EQ(DownloadFileType::FULL_PING, file_type.ping_setting());
 // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
 // of lacros-chrome is complete.
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
   EXPECT_EQ(DownloadFileType::ALLOW_ON_USER_GESTURE,
             file_type.platform_settings(0).danger_level());
   EXPECT_EQ(DownloadFileType::DISALLOW_AUTO_OPEN,