Index: third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.h |
diff --git a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.h b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.h |
index ce3ca65f7d7939680b2b458c5e26e70ef7b54ec0..95bcb2fc4f890bf62db754e1828adc77661a1567 100644 |
--- a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.h |
+++ b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.h |
@@ -48,7 +48,8 @@ |
namespace blink { |
-class ArrayBufferOrArrayBufferViewOrBlobOrDocumentOrStringOrFormData; |
+class |
+ ArrayBufferOrArrayBufferViewOrBlobOrDocumentOrStringOrFormDataOrURLSearchParams; |
class Blob; |
class BlobDataHandle; |
class DOMArrayBuffer; |
@@ -62,6 +63,7 @@ class ScriptState; |
class SharedBuffer; |
class TextResourceDecoder; |
class ThreadableLoader; |
+class URLSearchParams; |
class WebDataConsumerHandle; |
class XMLHttpRequestUpload; |
@@ -133,7 +135,7 @@ class XMLHttpRequest final : public XMLHttpRequestEventTarget, |
bool async, |
ExceptionState&); |
void send( |
- const ArrayBufferOrArrayBufferViewOrBlobOrDocumentOrStringOrFormData&, |
+ const ArrayBufferOrArrayBufferViewOrBlobOrDocumentOrStringOrFormDataOrURLSearchParams&, |
ExceptionState&); |
void abort(); |
void dispose(); |
@@ -234,6 +236,7 @@ class XMLHttpRequest final : public XMLHttpRequestEventTarget, |
void send(const String&, ExceptionState&); |
void send(Blob*, ExceptionState&); |
void send(FormData*, ExceptionState&); |
+ void send(URLSearchParams*, ExceptionState&); |
void send(DOMArrayBuffer*, ExceptionState&); |
void send(DOMArrayBufferView*, ExceptionState&); |
@@ -277,6 +280,9 @@ class XMLHttpRequest final : public XMLHttpRequestEventTarget, |
long long, |
long long); |
+ void updateContentTypeAndCharset(const AtomicString& contentType, |
+ const String& charset); |
+ |
XMLHttpRequestProgressEventThrottle& progressEventThrottle(); |
Member<XMLHttpRequestUpload> m_upload; |