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

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

Issue 556563002: Adding ArrayBuffer support to ServiceWorker Response and tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Uncommented assert Created 6 years, 3 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/serviceworkers/Response.h
diff --git a/Source/modules/serviceworkers/Response.h b/Source/modules/serviceworkers/Response.h
index b6e6645e62cb5b3dcff41c4ea111758e524c0115..f64624baf6cc3498d4aa3f5aa18ed76eb1422fb5 100644
--- a/Source/modules/serviceworkers/Response.h
+++ b/Source/modules/serviceworkers/Response.h
@@ -27,6 +27,7 @@ class Response FINAL : public GarbageCollected<Response>, public ScriptWrappable
public:
static Response* create(Blob*, const Dictionary&, ExceptionState&);
static Response* create(const String&, const Dictionary&, ExceptionState&);
+ static Response* create(const ArrayBuffer*, const Dictionary&, ExceptionState&);
static Response* create(Blob*, const ResponseInit&, ExceptionState&);
static Response* create(FetchResponseData*);
static Response* create(const WebServiceWorkerResponse&);

Powered by Google App Engine
This is Rietveld 408576698