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/quic/quic_crypto_client_stream.h" | 5 #include "net/quic/quic_crypto_client_stream.h" |
6 | 6 |
7 #include "base/metrics/histogram.h" | 7 #include "base/metrics/histogram.h" |
8 #include "net/quic/crypto/crypto_protocol.h" | 8 #include "net/quic/crypto/crypto_protocol.h" |
9 #include "net/quic/crypto/crypto_utils.h" | 9 #include "net/quic/crypto/crypto_utils.h" |
10 #include "net/quic/crypto/null_encrypter.h" | 10 #include "net/quic/crypto/null_encrypter.h" |
11 #include "net/quic/quic_client_session_base.h" | 11 #include "net/quic/quic_client_session_base.h" |
12 #include "net/quic/quic_protocol.h" | 12 #include "net/quic/quic_protocol.h" |
13 #include "net/quic/quic_session.h" | 13 #include "net/quic/quic_session.h" |
14 | 14 |
| 15 using std::string; |
| 16 |
15 namespace net { | 17 namespace net { |
16 | 18 |
17 QuicCryptoClientStream::ChannelIDSourceCallbackImpl:: | 19 QuicCryptoClientStream::ChannelIDSourceCallbackImpl:: |
18 ChannelIDSourceCallbackImpl(QuicCryptoClientStream* stream) | 20 ChannelIDSourceCallbackImpl(QuicCryptoClientStream* stream) |
19 : stream_(stream) {} | 21 : stream_(stream) {} |
20 | 22 |
21 QuicCryptoClientStream::ChannelIDSourceCallbackImpl:: | 23 QuicCryptoClientStream::ChannelIDSourceCallbackImpl:: |
22 ~ChannelIDSourceCallbackImpl() {} | 24 ~ChannelIDSourceCallbackImpl() {} |
23 | 25 |
24 void QuicCryptoClientStream::ChannelIDSourceCallbackImpl::Run( | 26 void QuicCryptoClientStream::ChannelIDSourceCallbackImpl::Run( |
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
593 } | 595 } |
594 } | 596 } |
595 return false; | 597 return false; |
596 } | 598 } |
597 | 599 |
598 QuicClientSessionBase* QuicCryptoClientStream::client_session() { | 600 QuicClientSessionBase* QuicCryptoClientStream::client_session() { |
599 return reinterpret_cast<QuicClientSessionBase*>(session()); | 601 return reinterpret_cast<QuicClientSessionBase*>(session()); |
600 } | 602 } |
601 | 603 |
602 } // namespace net | 604 } // namespace net |
OLD | NEW |