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

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

Issue 475533005: [ServiceWorker] Add support of FetchEvent's request.body. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase 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
« no previous file with comments | « Source/modules/serviceworkers/FetchRequestData.h ('k') | Source/modules/serviceworkers/Request.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/FetchRequestData.cpp
diff --git a/Source/modules/serviceworkers/FetchRequestData.cpp b/Source/modules/serviceworkers/FetchRequestData.cpp
index c1d48890e57aea99049a97f4a94ba33239ca9f83..c562a31ace392eba9e8d56daaf779e26cc4f8493 100644
--- a/Source/modules/serviceworkers/FetchRequestData.cpp
+++ b/Source/modules/serviceworkers/FetchRequestData.cpp
@@ -37,6 +37,7 @@ PassRefPtrWillBeRawPtr<FetchRequestData> FetchRequestData::create(const WebServi
request->m_method = webRequest.method();
for (HTTPHeaderMap::const_iterator it = webRequest.headers().begin(); it != webRequest.headers().end(); ++it)
request->m_headerList->append(it->key, it->value);
+ request->m_blobDataHandle = webRequest.blobDataHandle();
request->m_referrer.setURL(webRequest.referrer());
return request.release();
}
« no previous file with comments | « Source/modules/serviceworkers/FetchRequestData.h ('k') | Source/modules/serviceworkers/Request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698