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/quic_client_session.h" | 5 #include "net/tools/quic/quic_client_session.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "net/quic/chromium/crypto/proof_verifier_chromium.h" | 8 #include "net/quic/chromium/crypto/proof_verifier_chromium.h" |
9 #include "net/quic/crypto/crypto_protocol.h" | 9 #include "net/quic/core/crypto/crypto_protocol.h" |
10 #include "net/quic/quic_server_id.h" | 10 #include "net/quic/core/quic_server_id.h" |
11 #include "net/tools/quic/quic_spdy_client_stream.h" | 11 #include "net/tools/quic/quic_spdy_client_stream.h" |
12 | 12 |
13 using std::string; | 13 using std::string; |
14 | 14 |
15 namespace net { | 15 namespace net { |
16 | 16 |
17 QuicClientSession::QuicClientSession( | 17 QuicClientSession::QuicClientSession( |
18 const QuicConfig& config, | 18 const QuicConfig& config, |
19 QuicConnection* connection, | 19 QuicConnection* connection, |
20 const QuicServerId& server_id, | 20 const QuicServerId& server_id, |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 return new QuicCryptoClientStream( | 123 return new QuicCryptoClientStream( |
124 server_id_, this, new ProofVerifyContextChromium(0, BoundNetLog()), | 124 server_id_, this, new ProofVerifyContextChromium(0, BoundNetLog()), |
125 crypto_config_, this); | 125 crypto_config_, this); |
126 } | 126 } |
127 | 127 |
128 bool QuicClientSession::IsAuthorized(const string& authority) { | 128 bool QuicClientSession::IsAuthorized(const string& authority) { |
129 return true; | 129 return true; |
130 } | 130 } |
131 | 131 |
132 } // namespace net | 132 } // namespace net |
OLD | NEW |