| 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 "base/memory/ptr_util.h" | 8 #include "base/memory/ptr_util.h" |
| 9 #include "net/log/net_log_with_source.h" | 9 #include "net/log/net_log_with_source.h" |
| 10 #include "net/quic/chromium/crypto/proof_verifier_chromium.h" | 10 #include "net/quic/chromium/crypto/proof_verifier_chromium.h" |
| 11 #include "net/quic/core/crypto/crypto_protocol.h" | 11 #include "net/quic/core/crypto/crypto_protocol.h" |
| 12 #include "net/quic/core/quic_bug_tracker.h" | |
| 13 #include "net/quic/core/quic_server_id.h" | 12 #include "net/quic/core/quic_server_id.h" |
| 13 #include "net/quic/platform/api/quic_bug_tracker.h" |
| 14 #include "net/tools/quic/quic_spdy_client_stream.h" | 14 #include "net/tools/quic/quic_spdy_client_stream.h" |
| 15 | 15 |
| 16 using std::string; | 16 using std::string; |
| 17 | 17 |
| 18 namespace net { | 18 namespace net { |
| 19 | 19 |
| 20 QuicClientSession::QuicClientSession( | 20 QuicClientSession::QuicClientSession( |
| 21 const QuicConfig& config, | 21 const QuicConfig& config, |
| 22 QuicConnection* connection, | 22 QuicConnection* connection, |
| 23 const QuicServerId& server_id, | 23 const QuicServerId& server_id, |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 return base::MakeUnique<QuicCryptoClientStream>( | 129 return base::MakeUnique<QuicCryptoClientStream>( |
| 130 server_id_, this, new ProofVerifyContextChromium(0, NetLogWithSource()), | 130 server_id_, this, new ProofVerifyContextChromium(0, NetLogWithSource()), |
| 131 crypto_config_, this); | 131 crypto_config_, this); |
| 132 } | 132 } |
| 133 | 133 |
| 134 bool QuicClientSession::IsAuthorized(const string& authority) { | 134 bool QuicClientSession::IsAuthorized(const string& authority) { |
| 135 return true; | 135 return true; |
| 136 } | 136 } |
| 137 | 137 |
| 138 } // namespace net | 138 } // namespace net |
| OLD | NEW |