mirror of
https://git.freebsd.org/ports.git
synced 2025-06-19 19:50:31 -04:00
- Make existing patches apply cleanly Changelog: https://chromium.googlesource.com/chromium/src/+log/72.0.3626.121..73.0.3683.86?pretty=fuller&n=10000 Submitted by: Matthias Wolf MFH: 2019Q2
20 lines
981 B
C
20 lines
981 B
C
--- chrome/browser/download/download_prefs.h.orig 2019-03-11 22:00:53 UTC
|
|
+++ chrome/browser/download/download_prefs.h
|
|
@@ -101,7 +101,7 @@ class DownloadPrefs {
|
|
// Disables auto-open based on file extension.
|
|
void DisableAutoOpenBasedOnExtension(const base::FilePath& file_name);
|
|
|
|
-#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_MACOSX)
|
|
+#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_MACOSX) || 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);
|
|
@@ -145,7 +145,7 @@ class DownloadPrefs {
|
|
AutoOpenCompareFunctor> AutoOpenSet;
|
|
AutoOpenSet auto_open_;
|
|
|
|
-#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_MACOSX)
|
|
+#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_BSD)
|
|
bool should_open_pdf_in_system_reader_;
|
|
#endif
|
|
|