summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/KURL.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/KURL.h')
-rw-r--r--Source/WebCore/platform/KURL.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/WebCore/platform/KURL.h b/Source/WebCore/platform/KURL.h
index be72824..5764494 100644
--- a/Source/WebCore/platform/KURL.h
+++ b/Source/WebCore/platform/KURL.h
@@ -279,6 +279,8 @@ bool protocolIsJavaScript(const String& url);
bool isDefaultPortForProtocol(unsigned short port, const String& protocol);
bool portAllowed(const KURL&); // Blacklist ports that should never be used for Web resources.
+bool isValidProtocol(const String&);
+
String mimeTypeFromDataURL(const String& url);
// Unescapes the given string using URL escaping rules, given an optional