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

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

Issue 519803002: Support embedded created Response objects in ServiceWorker. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@2e-request
Patch Set: rebase to trunk, now just waiting on upstream CL 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
« no previous file with comments | « Source/modules/modules.gypi ('k') | Source/modules/serviceworkers/Response.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/Response.h
diff --git a/Source/modules/serviceworkers/Response.h b/Source/modules/serviceworkers/Response.h
index 5540f68a3363ce4ccfd94ad078238a3ab59b94cf..853d33175c73d37a67abec19346f81ef41638fbb 100644
--- a/Source/modules/serviceworkers/Response.h
+++ b/Source/modules/serviceworkers/Response.h
@@ -30,8 +30,8 @@ public:
static PassRefPtrWillBeRawPtr<Response> create(Blob*, const Dictionary&, ExceptionState&);
static PassRefPtrWillBeRawPtr<Response> create(const String&, const Dictionary&, ExceptionState&);
static PassRefPtrWillBeRawPtr<Response> create(Blob*, const ResponseInit&, ExceptionState&);
-
static PassRefPtrWillBeRawPtr<Response> create(PassRefPtrWillBeRawPtr<FetchResponseData>);
+ static PassRefPtrWillBeRawPtr<Response> create(const WebServiceWorkerResponse&);
String type() const;
String url() const;
@@ -48,6 +48,7 @@ public:
private:
Response();
explicit Response(PassRefPtrWillBeRawPtr<FetchResponseData>);
+ explicit Response(const WebServiceWorkerResponse&);
RefPtrWillBeMember<FetchResponseData> m_response;
RefPtrWillBeMember<Headers> m_headers;
« no previous file with comments | « Source/modules/modules.gypi ('k') | Source/modules/serviceworkers/Response.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698