diff options
| author | Carlos J. Puga Medina <cpm@FreeBSD.org> | 2017-04-29 23:00:33 +0000 |
|---|---|---|
| committer | Carlos J. Puga Medina <cpm@FreeBSD.org> | 2017-04-29 23:00:33 +0000 |
| commit | 633f9296f4a9a6d9f4988a62658038fdd8c8cc4f (patch) | |
| tree | 2f4294c7dbe2c6fd14de23902212e77c6a108530 /www/iridium/files/patch-chrome_browser_download_download__prefs.h | |
| parent | www/chromium: update to 58.0.3029.81 (diff) | |
Add new port www/iridium
Iridium is a free, open, and libre browser modification of the Chromium
code base, with privacy being enhanced in several key areas.
Automatic transmission of partial queries, keywords, metrics to central
services is inhibited and only occurs with consent.
WWW: https://iridiumbrowser.de/
Diffstat (limited to 'www/iridium/files/patch-chrome_browser_download_download__prefs.h')
| -rw-r--r-- | www/iridium/files/patch-chrome_browser_download_download__prefs.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/www/iridium/files/patch-chrome_browser_download_download__prefs.h b/www/iridium/files/patch-chrome_browser_download_download__prefs.h new file mode 100644 index 000000000000..fb35df5dcdc1 --- /dev/null +++ b/www/iridium/files/patch-chrome_browser_download_download__prefs.h @@ -0,0 +1,20 @@ +--- chrome/browser/download/download_prefs.h.orig 2017-04-19 19:06:29 UTC ++++ chrome/browser/download/download_prefs.h +@@ -78,7 +78,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); +@@ -109,7 +109,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 + |
