Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | From 59f6903ad96f3213f248b672d5fd526cc0d666ce Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Sun, 20 May 2018 14:28:27 -0700 |
| 4 | Subject: [PATCH] soup: Forward declare URL class |
| 5 | |
| 6 | This helps getting away with compiler errors seen with clang |
| 7 | |
| 8 | /mnt/a/oe/workspace/sources/webkitgtk/Source/WebCore/platform/network/soup/SoupNetworkSession.h:68:62: |
| 9 | error: unknown type name 'URL' |
| 10 | static std::optional<ResourceError> checkTLSErrors(const URL&, |
| 11 | GTlsCertificate*, GTlsCertificateFlags); |
| 12 | ^ |
| 13 | Upstream-Status: Backport [https://trac.webkit.org/changeset/231876/webkit] |
| 14 | |
| 15 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 16 | --- |
| 17 | Source/WebCore/platform/network/soup/SoupNetworkSession.h | 1 + |
| 18 | 1 file changed, 1 insertion(+) |
| 19 | |
| 20 | diff --git a/Source/WebCore/platform/network/soup/SoupNetworkSession.h b/Source/WebCore/platform/network/soup/SoupNetworkSession.h |
| 21 | index 03bd72ba..7ca8792d 100644 |
| 22 | --- a/Source/WebCore/platform/network/soup/SoupNetworkSession.h |
| 23 | +++ b/Source/WebCore/platform/network/soup/SoupNetworkSession.h |
| 24 | @@ -43,6 +43,7 @@ namespace WebCore { |
| 25 | |
| 26 | class CertificateInfo; |
| 27 | class ResourceError; |
| 28 | +class URL; |
| 29 | struct SoupNetworkProxySettings; |
| 30 | |
| 31 | class SoupNetworkSession { |