blob: def9ae2f3cdf2194de3c2f89b4d5ba29027a8d64 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$OpenBSD: patch-chrome_browser_download_download_prefs_h,v 1.18 2021/11/16 11:28:46 robert Exp $
Index: chrome/browser/download/download_prefs.h
--- chrome/browser/download/download_prefs.h.orig
+++ chrome/browser/download/download_prefs.h
@@ -122,7 +122,7 @@ class DownloadPrefs {
void DisableAutoOpenByUserBasedOnExtension(const base::FilePath& file_name);
#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_CHROMEOS) || \
- defined(OS_MAC)
+ defined(OS_MAC) || defined(OS_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);
@@ -181,7 +181,7 @@ class DownloadPrefs {
std::unique_ptr<policy::URLBlocklist> auto_open_allowed_by_urls_;
#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_CHROMEOS) || \
- defined(OS_MAC)
+ defined(OS_MAC) || defined(OS_BSD)
bool should_open_pdf_in_system_reader_;
#endif
|