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

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

Issue 284423002: Remove HttpStreamFactory's NPN/SPDY globals, except for spdy_enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move lineabreak 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_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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 // True if this network transaction is using SPDY instead of HTTP. 277 // True if this network transaction is using SPDY instead of HTTP.
278 bool using_spdy_; 278 bool using_spdy_;
279 279
280 // True if this network transaction is using QUIC instead of HTTP. 280 // True if this network transaction is using QUIC instead of HTTP.
281 bool using_quic_; 281 bool using_quic_;
282 QuicStreamRequest quic_request_; 282 QuicStreamRequest quic_request_;
283 283
284 // True if this job used an existing QUIC session. 284 // True if this job used an existing QUIC session.
285 bool using_existing_quic_session_; 285 bool using_existing_quic_session_;
286 286
287 // Force spdy for all connections.
288 bool force_spdy_always_;
289
290 // Force spdy only for SSL connections.
291 bool force_spdy_over_ssl_;
292
293 // Force quic for a specific port. 287 // Force quic for a specific port.
294 int force_quic_port_; 288 int force_quic_port_;
295 289
296 // The certificate error while using SPDY over SSL for insecure URLs. 290 // The certificate error while using SPDY over SSL for insecure URLs.
297 int spdy_certificate_error_; 291 int spdy_certificate_error_;
298 292
299 scoped_refptr<HttpAuthController> 293 scoped_refptr<HttpAuthController>
300 auth_controllers_[HttpAuth::AUTH_NUM_TARGETS]; 294 auth_controllers_[HttpAuth::AUTH_NUM_TARGETS];
301 295
302 // True when the tunnel is in the process of being established - we can't 296 // True when the tunnel is in the process of being established - we can't
(...skipping 29 matching lines...) Expand all
332 bool existing_available_pipeline_; 326 bool existing_available_pipeline_;
333 327
334 base::WeakPtrFactory<Job> ptr_factory_; 328 base::WeakPtrFactory<Job> ptr_factory_;
335 329
336 DISALLOW_COPY_AND_ASSIGN(Job); 330 DISALLOW_COPY_AND_ASSIGN(Job);
337 }; 331 };
338 332
339 } // namespace net 333 } // namespace net
340 334
341 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ 335 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698