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

Unified Diff: public/platform/WebURLRequest.h

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 | « Source/platform/network/ResourceRequest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebURLRequest.h
diff --git a/public/platform/WebURLRequest.h b/public/platform/WebURLRequest.h
index 9dbae0ab21622999c7e9f0de3ed7aa1545897ff5..17cc9cc0fc27d9d5aa6902509377aad23ac9d0a8 100644
--- a/public/platform/WebURLRequest.h
+++ b/public/platform/WebURLRequest.h
@@ -224,6 +224,10 @@ public:
BLINK_PLATFORM_EXPORT bool downloadToFile() const;
BLINK_PLATFORM_EXPORT void setDownloadToFile(bool);
+ // True if the requestor wants to receive the response body as a stream.
+ BLINK_PLATFORM_EXPORT bool useStreamOnResponse() const;
+ BLINK_PLATFORM_EXPORT void setUseStreamOnResponse(bool);
+
// True if the request should not be handled by the ServiceWorker.
BLINK_PLATFORM_EXPORT bool skipServiceWorker() const;
BLINK_PLATFORM_EXPORT void setSkipServiceWorker(bool);
« no previous file with comments | « Source/platform/network/ResourceRequest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698