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

Unified Diff: Source/platform/network/ResourceRequest.cpp

Issue 71433002: Enable XHR upload progress events for Workers. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add missing doctype declaration Created 7 years, 1 month 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/platform/network/ResourceRequest.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/network/ResourceRequest.cpp
diff --git a/Source/platform/network/ResourceRequest.cpp b/Source/platform/network/ResourceRequest.cpp
index fd57c168abcdabfb08a706391d8b409738652a69..9a944eb4d81f9d875faf692f19650c7d73642c2e 100644
--- a/Source/platform/network/ResourceRequest.cpp
+++ b/Source/platform/network/ResourceRequest.cpp
@@ -45,6 +45,7 @@ PassOwnPtr<ResourceRequest> ResourceRequest::adopt(PassOwnPtr<CrossThreadResourc
request->setHTTPBody(data->m_httpBody);
request->setAllowCookies(data->m_allowCookies);
+ request->setReportUploadProgress(data->m_reportUploadProgress);
request->setHasUserGesture(data->m_hasUserGesture);
request->setDownloadToFile(data->m_downloadToFile);
request->setRequestorID(data->m_requestorID);
@@ -68,6 +69,7 @@ PassOwnPtr<CrossThreadResourceRequestData> ResourceRequest::copyData() const
if (m_httpBody)
data->m_httpBody = m_httpBody->deepCopy();
data->m_allowCookies = m_allowCookies;
+ data->m_reportUploadProgress = m_reportUploadProgress;
data->m_hasUserGesture = m_hasUserGesture;
data->m_downloadToFile = m_downloadToFile;
data->m_requestorID = m_requestorID;
« no previous file with comments | « Source/platform/network/ResourceRequest.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698