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

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

Issue 9433015: Add a force pipelining option to load flags. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Use flag in session params Created 8 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
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_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"
11 #include "net/base/completion_callback.h" 11 #include "net/base/completion_callback.h"
12 #include "net/base/net_log.h" 12 #include "net/base/net_log.h"
13 #include "net/base/ssl_config_service.h" 13 #include "net/base/ssl_config_service.h"
14 #include "net/http/http_auth.h" 14 #include "net/http/http_auth.h"
15 #include "net/http/http_auth_controller.h" 15 #include "net/http/http_auth_controller.h"
16 #include "net/http/http_pipelined_host.h"
16 #include "net/http/http_request_info.h" 17 #include "net/http/http_request_info.h"
17 #include "net/http/http_stream_factory_impl.h" 18 #include "net/http/http_stream_factory_impl.h"
18 #include "net/proxy/proxy_service.h" 19 #include "net/proxy/proxy_service.h"
19 #include "net/socket/client_socket_handle.h" 20 #include "net/socket/client_socket_handle.h"
20 #include "net/socket/ssl_client_socket.h" 21 #include "net/socket/ssl_client_socket.h"
21 22
22 namespace net { 23 namespace net {
23 24
24 class ClientSocketHandle; 25 class ClientSocketHandle;
25 class HttpAuthController; 26 class HttpAuthController;
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 274
274 // Initialized when we create a new SpdySession. 275 // Initialized when we create a new SpdySession.
275 scoped_refptr<SpdySession> new_spdy_session_; 276 scoped_refptr<SpdySession> new_spdy_session_;
276 277
277 // Initialized when we have an existing SpdySession. 278 // Initialized when we have an existing SpdySession.
278 scoped_refptr<SpdySession> existing_spdy_session_; 279 scoped_refptr<SpdySession> existing_spdy_session_;
279 280
280 // Only used if |new_spdy_session_| is non-NULL. 281 // Only used if |new_spdy_session_| is non-NULL.
281 bool spdy_session_direct_; 282 bool spdy_session_direct_;
282 283
284 // Key used to identify the HttpPipelinedHost for |request_|.
285 scoped_ptr<HttpPipelinedHost::Key> http_pipelining_key_;
286
283 // True if an existing pipeline can handle this job's request. 287 // True if an existing pipeline can handle this job's request.
284 bool existing_available_pipeline_; 288 bool existing_available_pipeline_;
285 289
286 base::WeakPtrFactory<Job> ptr_factory_; 290 base::WeakPtrFactory<Job> ptr_factory_;
287 291
288 DISALLOW_COPY_AND_ASSIGN(Job); 292 DISALLOW_COPY_AND_ASSIGN(Job);
289 }; 293 };
290 294
291 } // namespace net 295 } // namespace net
292 296
293 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ 297 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698