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

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: rebase 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
Index: public/platform/WebURLRequest.h
diff --git a/public/platform/WebURLRequest.h b/public/platform/WebURLRequest.h
index 9dbae0ab21622999c7e9f0de3ed7aa1545897ff5..073075c0d37c752738d53a774e86e3fae907e57c 100644
--- a/public/platform/WebURLRequest.h
+++ b/public/platform/WebURLRequest.h
@@ -228,6 +228,10 @@ public:
BLINK_PLATFORM_EXPORT bool skipServiceWorker() const;
BLINK_PLATFORM_EXPORT void setSkipServiceWorker(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);
+
// The request mode which will be passed to the ServiceWorker.
BLINK_PLATFORM_EXPORT FetchRequestMode fetchRequestMode() const;
BLINK_PLATFORM_EXPORT void setFetchRequestMode(FetchRequestMode);
« Source/platform/network/ResourceRequest.h ('K') | « Source/platform/network/ResourceRequest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698