| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |