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

Side by Side Diff: net/http/http_stream_factory_impl.h

Issue 1796253002: Add an option to disable net::BidirectionalStreamQuicImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 9 months 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 unified diff | Download patch
« no previous file with comments | « net/http/http_network_session.cc ('k') | net/http/http_stream_factory_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ 5 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_
6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ 6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 RequestPriority priority, 82 RequestPriority priority,
83 const SSLConfig& server_ssl_config, 83 const SSLConfig& server_ssl_config,
84 const SSLConfig& proxy_ssl_config, 84 const SSLConfig& proxy_ssl_config,
85 HttpStreamRequest::Delegate* delegate, 85 HttpStreamRequest::Delegate* delegate,
86 WebSocketHandshakeStreamBase::CreateHelper* create_helper, 86 WebSocketHandshakeStreamBase::CreateHelper* create_helper,
87 HttpStreamRequest::StreamType stream_type, 87 HttpStreamRequest::StreamType stream_type,
88 const BoundNetLog& net_log); 88 const BoundNetLog& net_log);
89 89
90 AlternativeService GetAlternativeServiceFor( 90 AlternativeService GetAlternativeServiceFor(
91 const HttpRequestInfo& request_info, 91 const HttpRequestInfo& request_info,
92 HttpStreamRequest::Delegate* delegate); 92 HttpStreamRequest::Delegate* delegate,
93 HttpStreamRequest::StreamType stream_type);
93 94
94 // Detaches |job| from |request|. 95 // Detaches |job| from |request|.
95 void OrphanJob(Job* job, const Request* request); 96 void OrphanJob(Job* job, const Request* request);
96 97
97 // Called when a SpdySession is ready. It will find appropriate Requests and 98 // Called when a SpdySession is ready. It will find appropriate Requests and
98 // fulfill them. |direct| indicates whether or not |spdy_session| uses a 99 // fulfill them. |direct| indicates whether or not |spdy_session| uses a
99 // proxy. 100 // proxy.
100 void OnNewSpdySessionReady(const base::WeakPtr<SpdySession>& spdy_session, 101 void OnNewSpdySessionReady(const base::WeakPtr<SpdySession>& spdy_session,
101 bool direct, 102 bool direct,
102 const SSLConfig& used_ssl_config, 103 const SSLConfig& used_ssl_config,
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 // deleted when the factory is destroyed. 146 // deleted when the factory is destroyed.
146 std::set<const Job*> preconnect_job_set_; 147 std::set<const Job*> preconnect_job_set_;
147 148
148 const bool for_websockets_; 149 const bool for_websockets_;
149 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactoryImpl); 150 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactoryImpl);
150 }; 151 };
151 152
152 } // namespace net 153 } // namespace net
153 154
154 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_ 155 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_H_
OLDNEW
« no previous file with comments | « net/http/http_network_session.cc ('k') | net/http/http_stream_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698