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

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 b3cefe5b32b9e56239eef3f0fffe0f83b49d14eb..018bcc0d4c2235ab766ab539443a9edde4058bd1 100644
--- a/Source/modules/fetch/Response.h
+++ b/Source/modules/fetch/Response.h
@@ -42,6 +42,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