summaryrefslogtreecommitdiffstats
path: root/net/http/http_stream_factory_impl.h
diff options
context:
space:
mode:
authorxunjieli <xunjieli@chromium.org>2016-03-18 14:05:09 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-18 21:06:25 +0000
commit888c2992e286221aaf7bac8b08c8b8a0399d06bc (patch)
treea1ce74b5001ebf1d3fc462426caa6ad9b971e1b4 /net/http/http_stream_factory_impl.h
parent7e4a661dd6f79f847d878be5651d8e7bd662a7f4 (diff)
downloadchromium_src-888c2992e286221aaf7bac8b08c8b8a0399d06bc.zip
chromium_src-888c2992e286221aaf7bac8b08c8b8a0399d06bc.tar.gz
chromium_src-888c2992e286221aaf7bac8b08c8b8a0399d06bc.tar.bz2
Add an option to disable net::BidirectionalStreamQuicImpl
This CL adds an option to disable net::BidirectionalStreamQuicImpl in net::HttpNetworkSession. When the flag is set to true, alternative service job will not be negotiated. BUG=584338 Review URL: https://codereview.chromium.org/1796253002 Cr-Commit-Position: refs/heads/master@{#382084}
Diffstat (limited to 'net/http/http_stream_factory_impl.h')
-rw-r--r--net/http/http_stream_factory_impl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/http/http_stream_factory_impl.h b/net/http/http_stream_factory_impl.h
index d0aa390..a509f01 100644
--- a/net/http/http_stream_factory_impl.h
+++ b/net/http/http_stream_factory_impl.h
@@ -89,7 +89,8 @@ class NET_EXPORT_PRIVATE HttpStreamFactoryImpl : public HttpStreamFactory {
AlternativeService GetAlternativeServiceFor(
const HttpRequestInfo& request_info,
- HttpStreamRequest::Delegate* delegate);
+ HttpStreamRequest::Delegate* delegate,
+ HttpStreamRequest::StreamType stream_type);
// Detaches |job| from |request|.
void OrphanJob(Job* job, const Request* request);