pkgsrc-wip/chromium/patches/patch-net_url__request_url_...

14 lines
716 B
C

$NetBSD$
--- net/url_request/url_fetcher.h.orig 2020-07-15 18:56:47.000000000 +0000
+++ net/url_request/url_fetcher.h
@@ -355,7 +355,7 @@ class NET_EXPORT URLFetcher {
// The unannotated Create() methods are not available on desktop Linux +
// Windows. They are available on other platforms, since we only audit network
// annotations on Linux & Windows.
-#if (!defined(OS_WIN) && !defined(OS_LINUX)) || defined(OS_CHROMEOS)
+#if (!defined(OS_WIN) && !defined(OS_LINUX) && !defined(OS_BSD)) || defined(OS_CHROMEOS)
// |url| is the URL to send the request to. It must be valid.
// |request_type| is the type of request to make.
// |d| the object that will receive the callback on fetch completion.