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

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: improved test 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/Request.h
diff --git a/Source/modules/serviceworkers/Request.h b/Source/modules/serviceworkers/Request.h
index e1aab04b15679396157634d9417fd3699f3a379e..da89248dfe6f61fb06198a956d2e251efa8720c9 100644
--- a/Source/modules/serviceworkers/Request.h
+++ b/Source/modules/serviceworkers/Request.h
@@ -31,9 +31,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; }
@@ -46,6 +44,8 @@ public:
String mode() const;
String credentials() const;
+ void populateWebServiceWorkerRequest(WebServiceWorkerRequest&);
+
void trace(Visitor*);
private:

Powered by Google App Engine
This is Rietveld 408576698