Index: Source/modules/fetch/FetchResponseData.h |
diff --git a/Source/modules/fetch/FetchResponseData.h b/Source/modules/fetch/FetchResponseData.h |
index 0fbffd20b9f1df7c1494341963ecd745ea4a2606..5f1bf84b402dbed835bae02b737ee4e6975ed0f6 100644 |
--- a/Source/modules/fetch/FetchResponseData.h |
+++ b/Source/modules/fetch/FetchResponseData.h |
@@ -24,7 +24,12 @@ class MODULES_EXPORT FetchResponseData final : public GarbageCollectedFinalized< |
public: |
// "A response has an associated type which is one of basic, CORS, default, |
yhirano
2015/08/07 14:22:02
Please update the comment.
horo
2015/08/07 15:39:54
Done.
|
// error, and opaque. Unless stated otherwise, it is default." |
- enum Type { BasicType, CORSType, DefaultType, ErrorType, OpaqueType }; |
+ enum Type { BasicType, |
falken
2015/08/07 07:39:12
this formatting looks wrong
horo
2015/08/07 09:19:33
Done.
|
+ 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 +41,7 @@ public: |
FetchResponseData* createBasicFilteredResponse(); |
FetchResponseData* createCORSFilteredResponse(); |
FetchResponseData* createOpaqueFilteredResponse(); |
+ FetchResponseData* createOpaqueRedirectFilteredResponse(); |
FetchResponseData* clone(ExecutionContext*); |