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

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

Issue 1490243002: [Fetch API] Use FetchFormDataConsumerHandle in Response constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/fetch/Response.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/fetch/Response.h
diff --git a/third_party/WebKit/Source/modules/fetch/Response.h b/third_party/WebKit/Source/modules/fetch/Response.h
index 82b5b4a831bc2ddb2adbb68efd287892f11ee956..b7433d54f6049887536e49fb8f3a3ace65a4da43 100644
--- a/third_party/WebKit/Source/modules/fetch/Response.h
+++ b/third_party/WebKit/Source/modules/fetch/Response.h
@@ -15,12 +15,14 @@
#include "modules/fetch/Headers.h"
#include "platform/blob/BlobData.h"
#include "platform/heap/Handle.h"
+#include "wtf/PassOwnPtr.h"
namespace blink {
class Blob;
class DOMArrayBuffer;
class ExceptionState;
+class FetchDataConsumerHandle;
class ResponseInit;
class WebServiceWorkerResponse;
@@ -36,7 +38,7 @@ public:
static Response* create(ExecutionContext*, ExceptionState&);
static Response* create(ExecutionContext*, const BodyInit&, const Dictionary&, ExceptionState&);
- static Response* create(ExecutionContext*, Blob*, const ResponseInit&, ExceptionState&);
+ static Response* create(ExecutionContext*, PassOwnPtr<FetchDataConsumerHandle> bodyHandle, const String& contentType, const ResponseInit&, ExceptionState&);
static Response* create(ExecutionContext*, FetchResponseData*);
static Response* create(ExecutionContext*, const WebServiceWorkerResponse&);
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/fetch/Response.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698