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

Side by Side Diff: net/tools/quic/test_tools/quic_test_client.cc

Issue 339803004: Introduce QUIC_VERSION_20: allowing endpoints to set different (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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 | 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 #include "net/tools/quic/test_tools/quic_test_client.h" 5 #include "net/tools/quic/test_tools/quic_test_client.h"
6 6
7 #include "base/time/time.h" 7 #include "base/time/time.h"
8 #include "net/base/completion_callback.h" 8 #include "net/base/completion_callback.h"
9 #include "net/base/net_errors.h" 9 #include "net/base/net_errors.h"
10 #include "net/cert/cert_verify_result.h" 10 #include "net/cert/cert_verify_result.h"
(...skipping 10 matching lines...) Expand all
21 #include "net/tools/quic/quic_spdy_client_stream.h" 21 #include "net/tools/quic/quic_spdy_client_stream.h"
22 #include "net/tools/quic/test_tools/http_message.h" 22 #include "net/tools/quic/test_tools/http_message.h"
23 #include "net/tools/quic/test_tools/quic_client_peer.h" 23 #include "net/tools/quic/test_tools/quic_client_peer.h"
24 #include "url/gurl.h" 24 #include "url/gurl.h"
25 25
26 using base::StringPiece; 26 using base::StringPiece;
27 using net::QuicServerId; 27 using net::QuicServerId;
28 using net::test::QuicConnectionPeer; 28 using net::test::QuicConnectionPeer;
29 using net::test::QuicSessionPeer; 29 using net::test::QuicSessionPeer;
30 using net::test::ReliableQuicStreamPeer; 30 using net::test::ReliableQuicStreamPeer;
31 using net::test::kInitialFlowControlWindowForTest;
32 using std::string; 31 using std::string;
33 using std::vector; 32 using std::vector;
34 33
35 namespace net { 34 namespace net {
36 namespace tools { 35 namespace tools {
37 namespace test { 36 namespace test {
38 namespace { 37 namespace {
39 38
40 // RecordingProofVerifier accepts any certificate chain and records the common 39 // RecordingProofVerifier accepts any certificate chain and records the common
41 // name of the leaf. 40 // name of the leaf.
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 // Set policy for headers and crypto streams. 560 // Set policy for headers and crypto streams.
562 ReliableQuicStreamPeer::SetFecPolicy( 561 ReliableQuicStreamPeer::SetFecPolicy(
563 QuicSessionPeer::GetHeadersStream(client()->session()), fec_policy); 562 QuicSessionPeer::GetHeadersStream(client()->session()), fec_policy);
564 ReliableQuicStreamPeer::SetFecPolicy(client()->session()->GetCryptoStream(), 563 ReliableQuicStreamPeer::SetFecPolicy(client()->session()->GetCryptoStream(),
565 fec_policy); 564 fec_policy);
566 } 565 }
567 566
568 } // namespace test 567 } // namespace test
569 } // namespace tools 568 } // namespace tools
570 } // namespace net 569 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/test_tools/mock_quic_dispatcher.cc ('k') | net/tools/quic/test_tools/quic_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698