summaryrefslogtreecommitdiff
path: root/chromium/net/base/upload_data_stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/net/base/upload_data_stream.h')
-rw-r--r--chromium/net/base/upload_data_stream.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/net/base/upload_data_stream.h b/chromium/net/base/upload_data_stream.h
index b9645ec5a09..807efa13978 100644
--- a/chromium/net/base/upload_data_stream.h
+++ b/chromium/net/base/upload_data_stream.h
@@ -95,6 +95,10 @@ class NET_EXPORT UploadDataStream {
// empty UploadProgress.
virtual UploadProgress GetUploadProgress() const;
+ // Indicates whether fetch upload streaming is allowed/rejected over H/1.
+ // Even if this is false but there is a QUIC/H2 stream, the upload is allowed.
+ virtual bool AllowHTTP1() const;
+
protected:
// Must be called by subclasses when InitInternal and ReadInternal complete
// asynchronously.