summaryrefslogtreecommitdiffstats
path: root/dom/url/URLSearchParams.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:42 +0000
commitda4c7e7ed675c3bf405668739c3012d140856109 (patch)
treecdd868dba063fecba609a1d819de271f0d51b23e /dom/url/URLSearchParams.h
parentAdding upstream version 125.0.3. (diff)
downloadfirefox-da4c7e7ed675c3bf405668739c3012d140856109.tar.xz
firefox-da4c7e7ed675c3bf405668739c3012d140856109.zip
Adding upstream version 126.0.upstream/126.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/url/URLSearchParams.h')
-rw-r--r--dom/url/URLSearchParams.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/dom/url/URLSearchParams.h b/dom/url/URLSearchParams.h
index 9ddff1e512..25bd293f4d 100644
--- a/dom/url/URLSearchParams.h
+++ b/dom/url/URLSearchParams.h
@@ -37,7 +37,7 @@ namespace dom {
class GlobalObject;
class URLSearchParams;
-class USVStringSequenceSequenceOrUSVStringUSVStringRecordOrUSVString;
+class UTF8StringSequenceSequenceOrUTF8StringUTF8StringRecordOrUTF8String;
template <typename T>
class Optional;
@@ -66,42 +66,42 @@ class URLSearchParams final : public nsISupports, public nsWrapperCache {
static already_AddRefed<URLSearchParams> Constructor(
const GlobalObject& aGlobal,
- const USVStringSequenceSequenceOrUSVStringUSVStringRecordOrUSVString&
+ const UTF8StringSequenceSequenceOrUTF8StringUTF8StringRecordOrUTF8String&
aInit,
ErrorResult& aRv);
void ParseInput(const nsACString& aInput);
- void Serialize(nsAString& aValue) const;
+ void Serialize(nsACString& aValue) const;
uint32_t Size() const;
- void Get(const nsAString& aName, nsString& aRetval);
+ void Get(const nsACString& aName, nsACString& aRetval);
- void GetAll(const nsAString& aName, nsTArray<nsString>& aRetval);
+ void GetAll(const nsACString& aName, nsTArray<nsCString>& aRetval);
- void Set(const nsAString& aName, const nsAString& aValue);
+ void Set(const nsACString& aName, const nsACString& aValue);
- void Append(const nsAString& aName, const nsAString& aValue);
+ void Append(const nsACString& aName, const nsACString& aValue);
- bool Has(const nsAString& aName, const Optional<nsAString>& aValue);
+ bool Has(const nsACString& aName, const Optional<nsACString>& aValue);
- void Delete(const nsAString& aName, const Optional<nsAString>& aValue);
+ void Delete(const nsACString& aName, const Optional<nsACString>& aValue);
uint32_t GetIterableLength() const;
- const nsAString& GetKeyAtIndex(uint32_t aIndex) const;
- const nsAString& GetValueAtIndex(uint32_t aIndex) const;
+ const nsACString& GetKeyAtIndex(uint32_t aIndex) const;
+ const nsACString& GetValueAtIndex(uint32_t aIndex) const;
void Sort(ErrorResult& aRv);
- void Stringify(nsString& aRetval) const { Serialize(aRetval); }
+ void Stringify(nsAString&) const;
nsresult GetSendInfo(nsIInputStream** aBody, uint64_t* aContentLength,
nsACString& aContentTypeWithCharset,
nsACString& aCharset) const;
private:
- void AppendInternal(const nsAString& aName, const nsAString& aValue);
+ void AppendInternal(const nsACString& aName, const nsACString& aValue);
void DeleteAll();