summaryrefslogtreecommitdiff
path: root/dom/fetch/InternalResponse.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/fetch/InternalResponse.h')
-rw-r--r--dom/fetch/InternalResponse.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/dom/fetch/InternalResponse.h b/dom/fetch/InternalResponse.h
index e4b4a0ab62..d5c759d577 100644
--- a/dom/fetch/InternalResponse.h
+++ b/dom/fetch/InternalResponse.h
@@ -46,7 +46,13 @@ public:
M* aManager,
UniquePtr<mozilla::ipc::AutoIPCStream>& aAutoStream);
- already_AddRefed<InternalResponse> Clone();
+ enum CloneType
+ {
+ eCloneInputStream,
+ eDontCloneInputStream,
+ };
+
+ already_AddRefed<InternalResponse> Clone(CloneType eCloneType);
static already_AddRefed<InternalResponse>
NetworkError()