summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-chrome_common_chrome__paths.cc
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2020-01-21 19:29:41 +0000
committerRene Ladan <rene@FreeBSD.org>2020-01-21 19:29:41 +0000
commita65946d7a64d1684626405ae7a86cf503713cc07 (patch)
treeff55de009f8b49ed9776ac7fba33f3b7b6ea66c6 /www/chromium/files/patch-chrome_common_chrome__paths.cc
parentdevel/ghub: Update to 3.3.0 (diff)
www/chromium: update to 79.0.3945.130 [1] and restore path for policies [2].
Submitted by: Matthias Wolf [1], Landon Fuller [2] via Github MFH: 2020Q1 (security, browser) Security: https://chromereleases.googleblog.com/2020/01/stable-channel-update-for-desktop_16.html
Diffstat (limited to 'www/chromium/files/patch-chrome_common_chrome__paths.cc')
-rw-r--r--www/chromium/files/patch-chrome_common_chrome__paths.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/www/chromium/files/patch-chrome_common_chrome__paths.cc b/www/chromium/files/patch-chrome_common_chrome__paths.cc
index 171f2dd8afe1..65e998e965a5 100644
--- a/www/chromium/files/patch-chrome_common_chrome__paths.cc
+++ b/www/chromium/files/patch-chrome_common_chrome__paths.cc
@@ -35,6 +35,16 @@
if (!GetUserDownloadsDirectorySafe(&cur))
return false;
break;
+@@ -482,6 +482,9 @@ bool PathProvider(int key, base::FilePath* result) {
+ case chrome::DIR_POLICY_FILES: {
+ #if BUILDFLAG(GOOGLE_CHROME_BRANDING)
+ cur = base::FilePath(FILE_PATH_LITERAL("/etc/opt/chrome/policies"));
++#elif defined(OS_BSD)
++ cur = base::FilePath(FILE_PATH_LITERAL(
++ "/usr/local/etc/chrome/policies"));
+ #else
+ cur = base::FilePath(FILE_PATH_LITERAL("/etc/chromium/policies"));
+ #endif
@@ -502,7 +502,7 @@ bool PathProvider(int key, base::FilePath* result) {
}
#endif