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

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

Issue 516123004: Support ServiceWorker created request objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@minimaster
Patch Set: fix build 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/Request.h
diff --git a/Source/modules/serviceworkers/Request.h b/Source/modules/serviceworkers/Request.h
index 88d390ae0943a339bb103af98c8e0cf36cf7e820..7856f0deef1604b3e157547b6439951cbc9f40ba 100644
--- a/Source/modules/serviceworkers/Request.h
+++ b/Source/modules/serviceworkers/Request.h
@@ -32,9 +32,7 @@ public:
static PassRefPtrWillBeRawPtr<Request> create(ExecutionContext*, const String&, const Dictionary&, ExceptionState&);
static PassRefPtrWillBeRawPtr<Request> create(ExecutionContext*, Request*, ExceptionState&);
static PassRefPtrWillBeRawPtr<Request> create(ExecutionContext*, Request*, const Dictionary&, ExceptionState&);
-
static PassRefPtrWillBeRawPtr<Request> create(PassRefPtrWillBeRawPtr<FetchRequestData>);
-
static PassRefPtrWillBeRawPtr<Request> create(const WebServiceWorkerRequest&);
PassRefPtrWillBeRawPtr<FetchRequestData> request() { return m_request; }
@@ -47,6 +45,8 @@ public:
String mode() const;
String credentials() const;
+ void populateWebServiceWorkerRequest(WebServiceWorkerRequest&);
+
void setBodyBlobHandle(PassRefPtr<BlobDataHandle>);
void trace(Visitor*);

Powered by Google App Engine
This is Rietveld 408576698