Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1349)

Unified Diff: Source/modules/fetch/Response.h

Issue 1098473003: Implement redirect() API for Fetch Response (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/modules/fetch/Response.h
diff --git a/Source/modules/fetch/Response.h b/Source/modules/fetch/Response.h
index 4c02dabb0e722f0486ec7a5a895fcb0eec0075b9..cc24adb22793d95bad5a5c5d5902694389c6d672 100644
--- a/Source/modules/fetch/Response.h
+++ b/Source/modules/fetch/Response.h
@@ -41,6 +41,7 @@ public:
static Response* createClone(const Response&);
static Response* error(ExecutionContext*);
+ static Response* redirect(ExecutionContext*, const String& url, unsigned short status, ExceptionState&);
const FetchResponseData* response() const { return m_response; }

Powered by Google App Engine
This is Rietveld 408576698