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 "net/base/completion_callback.h" | 7 #include "net/base/completion_callback.h" |
8 #include "net/base/net_errors.h" | 8 #include "net/base/net_errors.h" |
9 #include "net/cert/cert_verify_result.h" | 9 #include "net/cert/cert_verify_result.h" |
10 #include "net/cert/x509_certificate.h" | 10 #include "net/cert/x509_certificate.h" |
11 #include "net/quic/crypto/proof_verifier.h" | 11 #include "net/quic/crypto/proof_verifier.h" |
12 #include "net/tools/flip_server/balsa_headers.h" | 12 #include "net/tools/balsa/balsa_headers.h" |
13 #include "net/tools/quic/quic_epoll_connection_helper.h" | 13 #include "net/tools/quic/quic_epoll_connection_helper.h" |
14 #include "net/tools/quic/quic_spdy_client_stream.h" | 14 #include "net/tools/quic/quic_spdy_client_stream.h" |
15 #include "net/tools/quic/test_tools/http_message_test_utils.h" | 15 #include "net/tools/quic/test_tools/http_message_test_utils.h" |
16 #include "url/gurl.h" | 16 #include "url/gurl.h" |
17 | 17 |
18 using std::string; | 18 using std::string; |
19 using std::vector; | 19 using std::vector; |
20 using base::StringPiece; | 20 using base::StringPiece; |
21 | 21 |
22 namespace { | 22 namespace { |
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 } | 337 } |
338 | 338 |
339 void QuicTestClient::UseWriter(QuicTestWriter* writer) { | 339 void QuicTestClient::UseWriter(QuicTestWriter* writer) { |
340 DCHECK(!connected()); | 340 DCHECK(!connected()); |
341 reinterpret_cast<QuicEpollClient*>(client_.get())->UseWriter(writer); | 341 reinterpret_cast<QuicEpollClient*>(client_.get())->UseWriter(writer); |
342 } | 342 } |
343 | 343 |
344 } // namespace test | 344 } // namespace test |
345 } // namespace tools | 345 } // namespace tools |
346 } // namespace net | 346 } // namespace net |
OLD | NEW |