freebsd-ports/www/chromium/files/patch-chrome_common_webui__url__constants.h
Rene Ladan 5ac9881e4f MFH: r563103
www/chromium: update to 88.0.4324.96

Submitted by:	Matthias Wolf (via github)
Security:	https://www.vuxml.org/freebsd/4ed0e43c-5cef-11eb-bafd-3065ec8fd3ec.html
2021-01-27 21:04:27 +00:00

43 lines
1.8 KiB
C

--- chrome/common/webui_url_constants.h.orig 2021-01-18 21:28:52 UTC
+++ chrome/common/webui_url_constants.h
@@ -292,12 +292,12 @@ bool IsSystemWebUIHost(base::StringPiece host);
#endif // defined(OS_CHROMEOS)
-#if defined(OS_LINUX) || defined(OS_CHROMEOS)
+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
extern const char kChromeUIWebUIJsExceptionHost[];
extern const char kChromeUIWebUIJsExceptionURL[];
#endif
-#if defined(OS_WIN) || defined(OS_MAC) || defined(OS_LINUX) || \
+#if defined(OS_WIN) || defined(OS_MAC) || defined(OS_LINUX) || defined(OS_BSD) || \
defined(OS_CHROMEOS)
extern const char kChromeUIDiscardsHost[];
extern const char kChromeUIDiscardsURL[];
@@ -314,13 +314,13 @@ extern const char kChromeUINearbyShareURL[];
extern const char kChromeUILinuxProxyConfigHost[];
#endif
-#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_CHROMEOS) || \
+#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD) || \
defined(OS_ANDROID)
extern const char kChromeUISandboxHost[];
#endif
#if defined(OS_WIN) || defined(OS_MAC) || \
- (defined(OS_LINUX) && !defined(OS_CHROMEOS))
+ (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD)
extern const char kChromeUIBrowserSwitchHost[];
extern const char kChromeUIBrowserSwitchURL[];
extern const char kChromeUIProfileCustomizationHost[];
@@ -330,7 +330,7 @@ extern const char kChromeUIProfilePickerUrl[];
extern const char kChromeUIProfilePickerStartupQuery[];
#endif
-#if ((defined(OS_LINUX) || defined(OS_CHROMEOS)) && defined(TOOLKIT_VIEWS)) || \
+#if ((defined(OS_LINUX) || defined(OS_CHROMEOS)) && defined(TOOLKIT_VIEWS)) || defined(OS_BSD) || \
defined(USE_AURA)
extern const char kChromeUITabModalConfirmDialogHost[];
#endif