| 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/core/crypto/crypto_protocol.h" | 9 #include "net/quic/core/crypto/crypto_protocol.h" |
| 10 #include "net/quic/core/quic_bug_tracker.h" | 10 #include "net/quic/core/quic_bug_tracker.h" |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 return nullptr; | 115 return nullptr; |
| 116 } | 116 } |
| 117 QuicSpdyStream* stream = new QuicSpdyClientStream(id, this); | 117 QuicSpdyStream* stream = new QuicSpdyClientStream(id, this); |
| 118 stream->CloseWriteSide(); | 118 stream->CloseWriteSide(); |
| 119 ActivateStream(stream); | 119 ActivateStream(stream); |
| 120 return stream; | 120 return stream; |
| 121 } | 121 } |
| 122 | 122 |
| 123 QuicCryptoClientStreamBase* QuicClientSession::CreateQuicCryptoStream() { | 123 QuicCryptoClientStreamBase* QuicClientSession::CreateQuicCryptoStream() { |
| 124 return new QuicCryptoClientStream( | 124 return new QuicCryptoClientStream( |
| 125 server_id_, this, new ProofVerifyContextChromium(0, BoundNetLog()), | 125 server_id_, this, new ProofVerifyContextChromium(0, NetLogWithSource()), |
| 126 crypto_config_, this); | 126 crypto_config_, this); |
| 127 } | 127 } |
| 128 | 128 |
| 129 bool QuicClientSession::IsAuthorized(const string& authority) { | 129 bool QuicClientSession::IsAuthorized(const string& authority) { |
| 130 return true; | 130 return true; |
| 131 } | 131 } |
| 132 | 132 |
| 133 } // namespace net | 133 } // namespace net |
| OLD | NEW |