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/log/net_log_with_source.h" |
8 #include "net/quic/chromium/crypto/proof_verifier_chromium.h" | 9 #include "net/quic/chromium/crypto/proof_verifier_chromium.h" |
9 #include "net/quic/core/crypto/crypto_protocol.h" | 10 #include "net/quic/core/crypto/crypto_protocol.h" |
10 #include "net/quic/core/quic_bug_tracker.h" | 11 #include "net/quic/core/quic_bug_tracker.h" |
11 #include "net/quic/core/quic_server_id.h" | 12 #include "net/quic/core/quic_server_id.h" |
12 #include "net/tools/quic/quic_spdy_client_stream.h" | 13 #include "net/tools/quic/quic_spdy_client_stream.h" |
13 | 14 |
14 using std::string; | 15 using std::string; |
15 | 16 |
16 namespace net { | 17 namespace net { |
17 | 18 |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 return new QuicCryptoClientStream( | 125 return new QuicCryptoClientStream( |
125 server_id_, this, new ProofVerifyContextChromium(0, NetLogWithSource()), | 126 server_id_, this, new ProofVerifyContextChromium(0, NetLogWithSource()), |
126 crypto_config_, this); | 127 crypto_config_, this); |
127 } | 128 } |
128 | 129 |
129 bool QuicClientSession::IsAuthorized(const string& authority) { | 130 bool QuicClientSession::IsAuthorized(const string& authority) { |
130 return true; | 131 return true; |
131 } | 132 } |
132 | 133 |
133 } // namespace net | 134 } // namespace net |
OLD | NEW |