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

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: rebased 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
« no previous file with comments | « third_party/WebKit/Source/core/dom/DOMURL.cpp ('k') | third_party/WebKit/Source/core/dom/DOMURLUtils.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..a46f8c461e7250d0d21f66290a4480c68eb0a239 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,15 @@ 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 setSearchInternal(const String&);
+
+ bool isInUpdate() const { return m_isInUpdate; }
+
+ bool m_isInUpdate = false;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/dom/DOMURL.cpp ('k') | third_party/WebKit/Source/core/dom/DOMURLUtils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698