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

Side by Side Diff: net/http/http_stream_factory_impl_unittest.cc

Issue 2899313006: Plumb NQP to context and to http_proxy_client_socket_pool (Closed)
Patch Set: fix compile error Created 3 years, 6 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 #include "net/http/http_stream_factory_impl.h" 5 #include "net/http/http_stream_factory_impl.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 : ParentPool(0, 0, host_resolver, nullptr, nullptr, nullptr), 447 : ParentPool(0, 0, host_resolver, nullptr, nullptr, nullptr),
448 last_num_streams_(-1) {} 448 last_num_streams_(-1) {}
449 449
450 template <> 450 template <>
451 CapturePreconnectsHttpProxySocketPool::CapturePreconnectsSocketPool( 451 CapturePreconnectsHttpProxySocketPool::CapturePreconnectsSocketPool(
452 HostResolver*, 452 HostResolver*,
453 CertVerifier*, 453 CertVerifier*,
454 TransportSecurityState*, 454 TransportSecurityState*,
455 CTVerifier*, 455 CTVerifier*,
456 CTPolicyEnforcer*) 456 CTPolicyEnforcer*)
457 : HttpProxyClientSocketPool(0, 0, nullptr, nullptr, nullptr), 457 : HttpProxyClientSocketPool(0, 0, nullptr, nullptr, nullptr, nullptr),
458 last_num_streams_(-1) {} 458 last_num_streams_(-1) {}
459 459
460 template <> 460 template <>
461 CapturePreconnectsSSLSocketPool::CapturePreconnectsSocketPool( 461 CapturePreconnectsSSLSocketPool::CapturePreconnectsSocketPool(
462 HostResolver* /* host_resolver */, 462 HostResolver* /* host_resolver */,
463 CertVerifier* cert_verifier, 463 CertVerifier* cert_verifier,
464 TransportSecurityState* transport_security_state, 464 TransportSecurityState* transport_security_state,
465 CTVerifier* cert_transparency_verifier, 465 CTVerifier* cert_transparency_verifier,
466 CTPolicyEnforcer* ct_policy_enforcer) 466 CTPolicyEnforcer* ct_policy_enforcer)
467 : SSLClientSocketPool(0, 467 : SSLClientSocketPool(0,
(...skipping 2045 matching lines...) Expand 10 before | Expand all | Expand 10 after
2513 HttpNetworkSession::NORMAL_SOCKET_POOL))); 2513 HttpNetworkSession::NORMAL_SOCKET_POOL)));
2514 EXPECT_EQ(0, GetSocketPoolGroupCount(session->GetTransportSocketPool( 2514 EXPECT_EQ(0, GetSocketPoolGroupCount(session->GetTransportSocketPool(
2515 HttpNetworkSession::WEBSOCKET_SOCKET_POOL))); 2515 HttpNetworkSession::WEBSOCKET_SOCKET_POOL)));
2516 EXPECT_EQ(0, GetSocketPoolGroupCount(session->GetSSLSocketPool( 2516 EXPECT_EQ(0, GetSocketPoolGroupCount(session->GetSSLSocketPool(
2517 HttpNetworkSession::WEBSOCKET_SOCKET_POOL))); 2517 HttpNetworkSession::WEBSOCKET_SOCKET_POOL)));
2518 } 2518 }
2519 2519
2520 } // namespace 2520 } // namespace
2521 2521
2522 } // namespace net 2522 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_proxy_client_socket_pool_unittest.cc ('k') | net/socket/client_socket_pool_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698