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

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

Issue 516603004: [ServiceWorker] Support setting body to Request object in ServiceWorker. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: incorporated yhirano's comment 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/FetchRequestData.h
diff --git a/Source/modules/serviceworkers/FetchRequestData.h b/Source/modules/serviceworkers/FetchRequestData.h
index 943e6a52b6e8a2baf93bb7583d8c5a170585b984..574d655dc9cc3eac415d797c81322a2c6306345f 100644
--- a/Source/modules/serviceworkers/FetchRequestData.h
+++ b/Source/modules/serviceworkers/FetchRequestData.h
@@ -83,6 +83,7 @@ public:
Tainting tainting() const { return m_responseTainting; }
FetchHeaderList* headerList() { return m_headerList.get(); }
PassRefPtr<BlobDataHandle> blobDataHandle() const { return m_blobDataHandle; }
+ void setBlobDataHandle(PassRefPtr<BlobDataHandle> blobHandle) { m_blobDataHandle = blobHandle; }
void trace(Visitor*);

Powered by Google App Engine
This is Rietveld 408576698