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

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

Issue 275953002: Remove HTTP pipelining support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge Created 6 years, 7 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 | Annotate | Revision Log
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_H_ 5 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_H_
6 #define NET_HTTP_HTTP_STREAM_FACTORY_H_ 6 #define NET_HTTP_HTTP_STREAM_FACTORY_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 WebSocketHandshakeStreamBase::CreateHelper* create_helper, 209 WebSocketHandshakeStreamBase::CreateHelper* create_helper,
210 const BoundNetLog& net_log) = 0; 210 const BoundNetLog& net_log) = 0;
211 211
212 // Requests that enough connections for |num_streams| be opened. 212 // Requests that enough connections for |num_streams| be opened.
213 virtual void PreconnectStreams(int num_streams, 213 virtual void PreconnectStreams(int num_streams,
214 const HttpRequestInfo& info, 214 const HttpRequestInfo& info,
215 RequestPriority priority, 215 RequestPriority priority,
216 const SSLConfig& server_ssl_config, 216 const SSLConfig& server_ssl_config,
217 const SSLConfig& proxy_ssl_config) = 0; 217 const SSLConfig& proxy_ssl_config) = 0;
218 218
219 // If pipelining is supported, creates a Value summary of the currently active
220 // pipelines. Caller assumes ownership of the returned value. Otherwise,
221 // returns an empty Value.
222 virtual base::Value* PipelineInfoToValue() const = 0;
223
224 virtual const HostMappingRules* GetHostMappingRules() const = 0; 219 virtual const HostMappingRules* GetHostMappingRules() const = 0;
225 220
226 // Static settings 221 // Static settings
227 222
228 // Reset all static settings to initialized values. Used to init test suite. 223 // Reset all static settings to initialized values. Used to init test suite.
229 static void ResetStaticSettingsToInit(); 224 static void ResetStaticSettingsToInit();
230 225
231 // Turns spdy on or off. 226 // Turns spdy on or off.
232 static void set_spdy_enabled(bool value) { 227 static void set_spdy_enabled(bool value) {
233 spdy_enabled_ = value; 228 spdy_enabled_ = value;
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 static bool force_spdy_over_ssl_; 301 static bool force_spdy_over_ssl_;
307 static bool force_spdy_always_; 302 static bool force_spdy_always_;
308 static std::list<HostPortPair>* forced_spdy_exclusions_; 303 static std::list<HostPortPair>* forced_spdy_exclusions_;
309 304
310 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactory); 305 DISALLOW_COPY_AND_ASSIGN(HttpStreamFactory);
311 }; 306 };
312 307
313 } // namespace net 308 } // namespace net
314 309
315 #endif // NET_HTTP_HTTP_STREAM_FACTORY_H_ 310 #endif // NET_HTTP_HTTP_STREAM_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698