summaryrefslogtreecommitdiff
path: root/dom/fetch/InternalHeaders.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/fetch/InternalHeaders.h')
-rw-r--r--dom/fetch/InternalHeaders.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/dom/fetch/InternalHeaders.h b/dom/fetch/InternalHeaders.h
index a904ba595a..ae9f2811a2 100644
--- a/dom/fetch/InternalHeaders.h
+++ b/dom/fetch/InternalHeaders.h
@@ -8,6 +8,7 @@
// needed for HeadersGuardEnum.
#include "mozilla/dom/HeadersBinding.h"
+#include "mozilla/dom/RequestBinding.h"
#include "mozilla/dom/UnionTypes.h"
#include "nsClassHashtable.h"
@@ -122,7 +123,8 @@ public:
BasicHeaders(InternalHeaders* aHeaders);
static already_AddRefed<InternalHeaders>
- CORSHeaders(InternalHeaders* aHeaders);
+ CORSHeaders(InternalHeaders* aHeaders,
+ RequestCredentials mCredentialsMode = RequestCredentials::Omit);
void
GetEntries(nsTArray<InternalHeaders::Entry>& aEntries) const;