mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
Security: https://vuxml.freebsd.org/freebsd/c53cd328-8131-4fc2-a083-a9e9d45e3028.html Security: https://vuxml.freebsd.org/freebsd/756839e1-cd78-4082-9f9e-d0da616ca8dd.html
20 lines
916 B
C++
20 lines
916 B
C++
--- chrome/browser/download/download_prefs.h.orig 2025-01-15 09:18:26 UTC
|
|
+++ chrome/browser/download/download_prefs.h
|
|
@@ -107,7 +107,7 @@ class DownloadPrefs {
|
|
void DisableAutoOpenByUserBasedOnExtension(const base::FilePath& file_name);
|
|
|
|
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
|
|
- BUILDFLAG(IS_MAC)
|
|
+ BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
|
|
// Store the user preference to disk. If |should_open| is true, also disable
|
|
// the built-in PDF plugin. If |should_open| is false, enable the PDF plugin.
|
|
void SetShouldOpenPdfInSystemReader(bool should_open);
|
|
@@ -171,7 +171,7 @@ class DownloadPrefs {
|
|
std::unique_ptr<policy::URLBlocklist> auto_open_allowed_by_urls_;
|
|
|
|
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
|
|
- BUILDFLAG(IS_MAC)
|
|
+ BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
|
|
bool should_open_pdf_in_system_reader_;
|
|
#endif
|
|
|