diff options
author | Rene Ladan <rene@FreeBSD.org> | 2022-03-02 09:32:47 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2022-03-02 09:32:47 +0000 |
commit | bfedd5f1f016c174f3fe18cd38c8517ece7b1e9b (patch) | |
tree | 1d6f8dd03169ed2d788d910cce625af1608e74d0 /www/chromium/files/patch-chrome_browser_safe__browsing_download__protection_file__analyzer.cc | |
parent | e18a8c4a1f1a85473f7d25dadf958405f131c81b (diff) | |
download | ports-bfedd5f1f016c174f3fe18cd38c8517ece7b1e9b.tar.gz ports-bfedd5f1f016c174f3fe18cd38c8517ece7b1e9b.zip |
www/chromium: update to 99.0.4844.51
On the port side, this update brings:
- libvulkan enabled by default
- more unit tests enabled
- no longer dependent on Python 2.7
Security: https://vuxml.freebsd.org/freebsd/e0914087-9a09-11ec-9e61-3065ec8fd3ec.html
Diffstat (limited to 'www/chromium/files/patch-chrome_browser_safe__browsing_download__protection_file__analyzer.cc')
-rw-r--r-- | www/chromium/files/patch-chrome_browser_safe__browsing_download__protection_file__analyzer.cc | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/www/chromium/files/patch-chrome_browser_safe__browsing_download__protection_file__analyzer.cc b/www/chromium/files/patch-chrome_browser_safe__browsing_download__protection_file__analyzer.cc index f0ae727beba1..2fa19a4b6262 100644 --- a/www/chromium/files/patch-chrome_browser_safe__browsing_download__protection_file__analyzer.cc +++ b/www/chromium/files/patch-chrome_browser_safe__browsing_download__protection_file__analyzer.cc @@ -1,29 +1,29 @@ ---- chrome/browser/safe_browsing/download_protection/file_analyzer.cc.orig 2022-02-07 13:39:41 UTC +--- chrome/browser/safe_browsing/download_protection/file_analyzer.cc.orig 2022-02-28 16:54:41 UTC +++ chrome/browser/safe_browsing/download_protection/file_analyzer.cc -@@ -19,7 +19,7 @@ +@@ -20,7 +20,7 @@ #include "components/safe_browsing/core/common/features.h" #include "content/public/browser/browser_thread.h" --#if defined(OS_LINUX) || defined(OS_WIN) -+#if defined(OS_LINUX) || defined(OS_WIN) | defined(OS_BSD) +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) | BUILDFLAG(IS_BSD) #include "chrome/browser/safe_browsing/download_protection/document_analysis_service.h" #endif -@@ -100,7 +100,7 @@ void FileAnalyzer::Start(const base::FilePath& target_ +@@ -101,7 +101,7 @@ void FileAnalyzer::Start(const base::FilePath& target_ } else if (inspection_type == DownloadFileType::DMG) { StartExtractDmgFeatures(); #endif --#if defined(OS_LINUX) || defined(OS_WIN) -+#if defined(OS_LINUX) || defined(OS_WIN) || defined(OS_BSD) +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) } else if (base::FeatureList::IsEnabled( safe_browsing::kClientSideDetectionDocumentScanning) && inspection_type == DownloadFileType::OFFICE_DOCUMENT) { -@@ -284,7 +284,7 @@ void FileAnalyzer::OnDmgAnalysisFinished( +@@ -285,7 +285,7 @@ void FileAnalyzer::OnDmgAnalysisFinished( } - #endif // defined(OS_MAC) + #endif // BUILDFLAG(IS_MAC) --#if defined(OS_LINUX) || defined(OS_WIN) -+#if defined(OS_LINUX) || defined(OS_WIN) || defined(OS_BSD) +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD) void FileAnalyzer::StartExtractDocumentFeatures() { DCHECK_CURRENTLY_ON(BrowserThread::UI); |