Index: Source/modules/fetch/FetchResponseData.h |
diff --git a/Source/modules/fetch/FetchResponseData.h b/Source/modules/fetch/FetchResponseData.h |
index 0fbffd20b9f1df7c1494341963ecd745ea4a2606..700c5a39df4ea13254e733ed9f9f8d526050456c 100644 |
--- a/Source/modules/fetch/FetchResponseData.h |
+++ b/Source/modules/fetch/FetchResponseData.h |
@@ -23,8 +23,9 @@ class MODULES_EXPORT FetchResponseData final : public GarbageCollectedFinalized< |
WTF_MAKE_NONCOPYABLE(FetchResponseData); |
public: |
// "A response has an associated type which is one of basic, CORS, default, |
- // error, and opaque. Unless stated otherwise, it is default." |
- enum Type { BasicType, CORSType, DefaultType, ErrorType, OpaqueType }; |
+ // error, opaque, and opaqueredirect. Unless stated otherwise, it is |
+ // default." |
+ enum Type { BasicType, CORSType, DefaultType, ErrorType, OpaqueType, OpaqueRedirectType }; |
// "A response can have an associated termination reason which is one of |
// end-user abort, fatal, and timeout." |
enum TerminationReason { EndUserAbortTermination, FatalTermination, TimeoutTermination }; |
@@ -36,6 +37,7 @@ public: |
FetchResponseData* createBasicFilteredResponse(); |
FetchResponseData* createCORSFilteredResponse(); |
FetchResponseData* createOpaqueFilteredResponse(); |
+ FetchResponseData* createOpaqueRedirectFilteredResponse(); |
FetchResponseData* clone(ExecutionContext*); |