Index: Source/core/dom/DOMURLUtils.h |
diff --git a/Source/core/dom/DOMURLUtils.h b/Source/core/dom/DOMURLUtils.h |
index 1987ecd72054e349d44a522bd9b4a50143f0e906..966ab1d97fff6a7800094b89637ef9686635a701 100644 |
--- a/Source/core/dom/DOMURLUtils.h |
+++ b/Source/core/dom/DOMURLUtils.h |
@@ -27,8 +27,10 @@ |
#ifndef DOMURLUtils_h |
#define DOMURLUtils_h |
+#include "core/dom/DOMURLSearchParams.h" |
#include "core/dom/DOMURLUtilsReadOnly.h" |
#include "wtf/Forward.h" |
+#include "wtf/RefPtr.h" |
#include "wtf/text/WTFString.h" |
namespace WebCore { |
@@ -39,7 +41,7 @@ class DOMURLUtils : public DOMURLUtilsReadOnly { |
public: |
virtual void setURL(const KURL&) = 0; |
virtual void setInput(const String&) = 0; |
- virtual ~DOMURLUtils() { }; |
+ virtual ~DOMURLUtils(); |
static void setHref(DOMURLUtils*, const String&); |
@@ -52,6 +54,15 @@ public: |
static void setPathname(DOMURLUtils*, const String&); |
static void setSearch(DOMURLUtils*, const String&); |
static void setHash(DOMURLUtils*, const String&); |
+ |
+ static PassRefPtr<DOMURLSearchParams> searchParams(DOMURLUtils*, bool&); |
+ static void setSearchParams(DOMURLUtils*, const String&); |
+ static void setSearchParams(DOMURLUtils*, PassRefPtr<DOMURLSearchParams>); |
+ |
+ static void update(DOMURLUtils*); |
+ |
+protected: |
+ RefPtr<DOMURLSearchParams> m_searchParams; |
}; |
} // namespace WebCore |