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

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

Issue 8586015: Slow start pipelining. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch for landing Created 9 years 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
« no previous file with comments | « net/http/http_stream_factory_impl.cc ('k') | net/http/http_stream_factory_impl_job.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_JOB_H_ 5 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_
6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ 6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 185
186 // Moves this stream request into SPDY mode. 186 // Moves this stream request into SPDY mode.
187 void SwitchToSpdyMode(); 187 void SwitchToSpdyMode();
188 188
189 // Should we force SPDY to run over SSL for this stream request. 189 // Should we force SPDY to run over SSL for this stream request.
190 bool ShouldForceSpdySSL() const; 190 bool ShouldForceSpdySSL() const;
191 191
192 // Should we force SPDY to run without SSL for this stream request. 192 // Should we force SPDY to run without SSL for this stream request.
193 bool ShouldForceSpdyWithoutSSL() const; 193 bool ShouldForceSpdyWithoutSSL() const;
194 194
195 bool IsRequestEligibleForPipelining() const; 195 bool IsRequestEligibleForPipelining();
196 196
197 // Record histograms of latency until Connect() completes. 197 // Record histograms of latency until Connect() completes.
198 static void LogHttpConnectedMetrics(const ClientSocketHandle& handle); 198 static void LogHttpConnectedMetrics(const ClientSocketHandle& handle);
199 199
200 Request* request_; 200 Request* request_;
201 201
202 const HttpRequestInfo request_info_; 202 const HttpRequestInfo request_info_;
203 ProxyInfo proxy_info_; 203 ProxyInfo proxy_info_;
204 SSLConfig server_ssl_config_; 204 SSLConfig server_ssl_config_;
205 SSLConfig proxy_ssl_config_; 205 SSLConfig proxy_ssl_config_;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 bool existing_available_pipeline_; 275 bool existing_available_pipeline_;
276 276
277 base::WeakPtrFactory<Job> ptr_factory_; 277 base::WeakPtrFactory<Job> ptr_factory_;
278 278
279 DISALLOW_COPY_AND_ASSIGN(Job); 279 DISALLOW_COPY_AND_ASSIGN(Job);
280 }; 280 };
281 281
282 } // namespace net 282 } // namespace net
283 283
284 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ 284 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_
OLDNEW
« no previous file with comments | « net/http/http_stream_factory_impl.cc ('k') | net/http/http_stream_factory_impl_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698