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

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

Issue 433793002: Introducing the WebServiceWorkerCache. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: partial remediation Created 6 years, 4 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 de0a68a7c55540e21ca037da5fc158bbddf3dcd1..58c91ddc940fe0a7e1eb87a95436ae7826bae9c8 100644
--- a/Source/modules/serviceworkers/Response.h
+++ b/Source/modules/serviceworkers/Response.h
@@ -29,8 +29,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;
@@ -47,6 +47,7 @@ public:
private:
Response();
explicit Response(PassRefPtrWillBeRawPtr<FetchResponseData>);
+ explicit Response(const WebServiceWorkerResponse&);
RefPtrWillBeMember<FetchResponseData> m_response;
RefPtrWillBeMember<Headers> m_headers;

Powered by Google App Engine
This is Rietveld 408576698