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

Unified Diff: Source/platform/exported/WebURLRequest.cpp

Issue 700663004: [Streams] Add "useStreamOnResponse" on WebURLRequest. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@use-web-data-pipe
Patch Set: Created 6 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 | « no previous file | Source/platform/network/ResourceRequest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/exported/WebURLRequest.cpp
diff --git a/Source/platform/exported/WebURLRequest.cpp b/Source/platform/exported/WebURLRequest.cpp
index d2f5b83dc07a4c46b27190564a03b230ebb168b4..d07b6ac993bd18706a552e3dcb2fb1053abc728e 100644
--- a/Source/platform/exported/WebURLRequest.cpp
+++ b/Source/platform/exported/WebURLRequest.cpp
@@ -299,6 +299,16 @@ void WebURLRequest::setDownloadToFile(bool downloadToFile)
m_private->m_resourceRequest->setDownloadToFile(downloadToFile);
}
+bool WebURLRequest::useStreamOnResponse() const
+{
+ return m_private->m_resourceRequest->useStreamOnResponse();
+}
+
+void WebURLRequest::setUseStreamOnResponse(bool useStreamOnResponse)
+{
+ m_private->m_resourceRequest->setUseStreamOnResponse(useStreamOnResponse);
+}
+
bool WebURLRequest::skipServiceWorker() const
{
return m_private->m_resourceRequest->skipServiceWorker();
« no previous file with comments | « no previous file | Source/platform/network/ResourceRequest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698