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

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

Issue 2236973002: Landing Recent QUIC changes until 4AM, Aug 7, 2016 UTC-4 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: flip quic_sequencer_buffer_retire_block_in_time to true Created 4 years, 4 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 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 1611 matching lines...) Expand 10 before | Expand all | Expand 10 after
1622 MultiLogCTVerifier ct_verifier_; 1622 MultiLogCTVerifier ct_verifier_;
1623 CTPolicyEnforcer ct_policy_enforcer_; 1623 CTPolicyEnforcer ct_policy_enforcer_;
1624 MockHostResolver host_resolver_; 1624 MockHostResolver host_resolver_;
1625 std::unique_ptr<ProxyService> proxy_service_; 1625 std::unique_ptr<ProxyService> proxy_service_;
1626 scoped_refptr<SSLConfigServiceDefaults> ssl_config_service_; 1626 scoped_refptr<SSLConfigServiceDefaults> ssl_config_service_;
1627 HttpNetworkSession::Params params_; 1627 HttpNetworkSession::Params params_;
1628 }; 1628 };
1629 1629
1630 INSTANTIATE_TEST_CASE_P(Version, 1630 INSTANTIATE_TEST_CASE_P(Version,
1631 HttpStreamFactoryBidirectionalQuicTest, 1631 HttpStreamFactoryBidirectionalQuicTest,
1632 ::testing::ValuesIn(QuicSupportedVersions())); 1632 ::testing::ValuesIn(AllSupportedVersions()));
1633 1633
1634 TEST_P(HttpStreamFactoryBidirectionalQuicTest, 1634 TEST_P(HttpStreamFactoryBidirectionalQuicTest,
1635 RequestBidirectionalStreamImplQuicAlternative) { 1635 RequestBidirectionalStreamImplQuicAlternative) {
1636 MockQuicData mock_quic_data; 1636 MockQuicData mock_quic_data;
1637 SpdyPriority priority = 1637 SpdyPriority priority =
1638 ConvertRequestPriorityToQuicPriority(DEFAULT_PRIORITY); 1638 ConvertRequestPriorityToQuicPriority(DEFAULT_PRIORITY);
1639 size_t spdy_headers_frame_length; 1639 size_t spdy_headers_frame_length;
1640 mock_quic_data.AddWrite(client_packet_maker().MakeRequestHeadersPacket( 1640 mock_quic_data.AddWrite(client_packet_maker().MakeRequestHeadersPacket(
1641 1, test::kClientDataStreamId1, /*should_include_version=*/true, 1641 1, test::kClientDataStreamId1, /*should_include_version=*/true,
1642 /*fin=*/true, priority, 1642 /*fin=*/true, priority,
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
2056 session->GetTransportSocketPool( 2056 session->GetTransportSocketPool(
2057 HttpNetworkSession::WEBSOCKET_SOCKET_POOL))); 2057 HttpNetworkSession::WEBSOCKET_SOCKET_POOL)));
2058 EXPECT_EQ(1, GetSocketPoolGroupCount( 2058 EXPECT_EQ(1, GetSocketPoolGroupCount(
2059 session->GetSSLSocketPool(HttpNetworkSession::WEBSOCKET_SOCKET_POOL))); 2059 session->GetSSLSocketPool(HttpNetworkSession::WEBSOCKET_SOCKET_POOL)));
2060 EXPECT_TRUE(waiter.used_proxy_info().is_direct()); 2060 EXPECT_TRUE(waiter.used_proxy_info().is_direct());
2061 } 2061 }
2062 2062
2063 } // namespace 2063 } // namespace
2064 2064
2065 } // namespace net 2065 } // namespace net
OLDNEW
« no previous file with comments | « components/network_session_configurator/network_session_configurator_unittest.cc ('k') | net/net.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698