mirror of
https://git.freebsd.org/ports.git
synced 2025-07-05 03:19:18 -04:00
Approved by: rene (mentor) Security: https://vuxml.freebsd.org/freebsd/3d5581ff-d388-11ed-8581-a8a1599412c6.html Differential Revision: https://reviews.freebsd.org/D39432
20 lines
916 B
C++
20 lines
916 B
C++
--- chrome/browser/download/download_prefs.h.orig 2023-04-05 11:05:06 UTC
|
|
+++ chrome/browser/download/download_prefs.h
|
|
@@ -118,7 +118,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);
|
|
@@ -183,7 +183,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
|
|
|