Index: third_party/WebKit/Source/modules/fetch/Headers.h |
diff --git a/third_party/WebKit/Source/modules/fetch/Headers.h b/third_party/WebKit/Source/modules/fetch/Headers.h |
index 2f515ff7f6db365b2e67b4eeb9338aa09feb51ce..7edee8c8df3a62703355cb47f98627295780bbb4 100644 |
--- a/third_party/WebKit/Source/modules/fetch/Headers.h |
+++ b/third_party/WebKit/Source/modules/fetch/Headers.h |
@@ -14,7 +14,7 @@ |
namespace blink { |
-class Dictionary; |
+class ByteStringSequenceSequenceOrByteStringByteStringRecordOrHeaders; |
class ExceptionState; |
// http://fetch.spec.whatwg.org/#headers-class |
@@ -32,11 +32,10 @@ class MODULES_EXPORT Headers final : public GarbageCollected<Headers>, |
kNoneGuard |
}; |
- static Headers* Create(); |
static Headers* Create(ExceptionState&); |
- static Headers* Create(const Headers*, ExceptionState&); |
- static Headers* Create(const Vector<Vector<String>>&, ExceptionState&); |
- static Headers* Create(const Dictionary&, ExceptionState&); |
+ static Headers* Create( |
+ const ByteStringSequenceSequenceOrByteStringByteStringRecordOrHeaders&, |
+ ExceptionState&); |
// Shares the FetchHeaderList. Called when creating a Request or Response. |
static Headers* Create(FetchHeaderList*); |
@@ -57,7 +56,7 @@ class MODULES_EXPORT Headers final : public GarbageCollected<Headers>, |
// These methods should only be called when size() would return 0. |
void FillWith(const Headers*, ExceptionState&); |
void FillWith(const Vector<Vector<String>>&, ExceptionState&); |
- void FillWith(const Dictionary&, ExceptionState&); |
+ void FillWith(const Vector<std::pair<String, String>>&, ExceptionState&); |
FetchHeaderList* HeaderList() const { return header_list_; } |
DECLARE_TRACE(); |