diff options
Diffstat (limited to 'WebCore/platform/KURL.h')
-rw-r--r-- | WebCore/platform/KURL.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/WebCore/platform/KURL.h b/WebCore/platform/KURL.h index e5e8ec4..cbf0d8b 100644 --- a/WebCore/platform/KURL.h +++ b/WebCore/platform/KURL.h @@ -27,6 +27,7 @@ #define KURL_h #include "PlatformString.h" +#include <wtf/HashMap.h> #if PLATFORM(CF) typedef const struct __CFURL* CFURLRef; @@ -59,6 +60,8 @@ namespace WebCore { class TextEncoding; struct KURLHash; +typedef HashMap<String, String> ParsedURLParameters; + enum ParsedURLStringTag { ParsedURLString }; class KURL { @@ -133,6 +136,8 @@ public: String fragmentIdentifier() const; bool hasFragmentIdentifier() const; + void copyParsedQueryTo(ParsedURLParameters&) const; + String baseAsString() const; String prettyURL() const; @@ -141,6 +146,7 @@ public: // Returns true if the current URL's protocol is the same as the null- // terminated ASCII argument. The argument must be lower-case. bool protocolIs(const char*) const; + bool protocolIsData() const { return protocolIs("data"); } bool protocolInHTTPFamily() const; bool isLocalFile() const; |