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

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

Issue 1899873006: Make Response::body return v8-extra based stream behind flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@notify-locked-released
Patch Set: Created 4 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: 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 be06f2c5c4096e5faa3f1a5023a134a7efd4a21e..8350c69cfffa35a9907793341f4b4c9150d1e395 100644
--- a/third_party/WebKit/Source/modules/fetch/Response.h
+++ b/third_party/WebKit/Source/modules/fetch/Response.h
@@ -38,9 +38,9 @@ public:
static Response* create(ScriptState*, ExceptionState&);
static Response* create(ScriptState*, ScriptValue body, const Dictionary&, ExceptionState&);
- static Response* create(ExecutionContext*, PassOwnPtr<FetchDataConsumerHandle> bodyHandle, const String& contentType, const ResponseInit&, ExceptionState&);
+ static Response* create(ScriptState*, PassOwnPtr<FetchDataConsumerHandle> bodyHandle, const String& contentType, const ResponseInit&, ExceptionState&);
static Response* create(ExecutionContext*, FetchResponseData*);
- static Response* create(ExecutionContext*, const WebServiceWorkerResponse&);
+ static Response* create(ScriptState*, const WebServiceWorkerResponse&);
static Response* createClone(const Response&);
@@ -58,14 +58,11 @@ public:
Headers* headers() const;
// From Response.idl:
- Response* clone(ExceptionState&);
+ Response* clone(ScriptState*, ExceptionState&);
// ActiveScriptWrappable
bool hasPendingActivity() const final;
- // ActiveDOMObject
- void stop() override;
-
// Does not call response.setBlobDataHandle().
void populateWebServiceWorkerResponse(WebServiceWorkerResponse& /* response */);
« no previous file with comments | « third_party/WebKit/Source/modules/fetch/RequestTest.cpp ('k') | third_party/WebKit/Source/modules/fetch/Response.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698