Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(189)

Unified Diff: third_party/WebKit/Source/core/dom/DOMURLUtils.h

Issue 1860623002: Add support for URL.searchParams getter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: restrict .searchParams to URL only Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/DOMURLUtils.h
diff --git a/third_party/WebKit/Source/core/dom/DOMURLUtils.h b/third_party/WebKit/Source/core/dom/DOMURLUtils.h
index 7bec3e035973667114c9b5192c5e4d6a3685045b..5e517e62c16ed3edc21b7c28cf073d75658b1637 100644
--- a/third_party/WebKit/Source/core/dom/DOMURLUtils.h
+++ b/third_party/WebKit/Source/core/dom/DOMURLUtils.h
@@ -39,7 +39,7 @@ class CORE_EXPORT DOMURLUtils : public DOMURLUtilsReadOnly {
public:
virtual void setURL(const KURL&) = 0;
virtual void setInput(const String&) = 0;
- ~DOMURLUtils() override { }
+ ~DOMURLUtils() override;
void setHref(const String&);
@@ -50,8 +50,11 @@ public:
void setHostname(const String&);
void setPort(const String&);
void setPathname(const String&);
- void setSearch(const String&);
void setHash(const String&);
+ virtual void setSearch(const String&);
+
+protected:
+ void setQuery(const String&);
Mike West 2016/04/05 12:43:51 Nit: Maybe `setSearchInternal`? Distinguishing bet
sof 2016/04/05 15:23:18 Good idea, done.
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698