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

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

Issue 318393002: Initial implementation of ServiceWorkerGlobalScope.fetch() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: incoroporated dominicc's comment Created 6 years, 6 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/serviceworkers/FetchManager.cpp ('k') | Source/modules/serviceworkers/Request.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/Request.h
diff --git a/Source/modules/serviceworkers/Request.h b/Source/modules/serviceworkers/Request.h
index c7c71d0c5d5d42b0da868b414922bc8af6496401..a95141e003ed1935de0f1106cebaa0f6a5fa99e1 100644
--- a/Source/modules/serviceworkers/Request.h
+++ b/Source/modules/serviceworkers/Request.h
@@ -18,6 +18,7 @@ namespace blink { class WebServiceWorkerRequest; }
namespace WebCore {
struct RequestInit;
+class ResourceRequest;
class Request FINAL : public ScriptWrappable, public RefCounted<Request> {
public:
@@ -34,6 +35,8 @@ public:
String origin() const;
PassRefPtr<HeaderMap> headers() const { return m_headers; }
+ PassOwnPtr<ResourceRequest> createResourceRequest() const;
+
private:
explicit Request(const RequestInit&);
explicit Request(const blink::WebServiceWorkerRequest&);
« no previous file with comments | « Source/modules/serviceworkers/FetchManager.cpp ('k') | Source/modules/serviceworkers/Request.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698