| Index: net/quic/test_tools/quic_test_utils.cc
|
| diff --git a/net/quic/test_tools/quic_test_utils.cc b/net/quic/test_tools/quic_test_utils.cc
|
| index d9e3da8b0d7505e2ad48748b87a1cf1e514dbb61..4b66e1eaca1596a8adcf01abb4ea27da801dae1f 100644
|
| --- a/net/quic/test_tools/quic_test_utils.cc
|
| +++ b/net/quic/test_tools/quic_test_utils.cc
|
| @@ -445,8 +445,14 @@ TestQuicSpdyServerSession::CreateQuicCryptoServerStream(
|
| &helper_);
|
| }
|
|
|
| -QuicCryptoServerStream* TestQuicSpdyServerSession::GetCryptoStream() {
|
| +QuicCryptoServerStream* TestQuicSpdyServerSession::GetMutableCryptoStream() {
|
| return static_cast<QuicCryptoServerStream*>(
|
| + QuicServerSessionBase::GetMutableCryptoStream());
|
| +}
|
| +
|
| +const QuicCryptoServerStream* TestQuicSpdyServerSession::GetCryptoStream()
|
| + const {
|
| + return static_cast<const QuicCryptoServerStream*>(
|
| QuicServerSessionBase::GetCryptoStream());
|
| }
|
|
|
| @@ -468,7 +474,12 @@ bool TestQuicSpdyClientSession::IsAuthorized(const string& authority) {
|
| return true;
|
| }
|
|
|
| -QuicCryptoClientStream* TestQuicSpdyClientSession::GetCryptoStream() {
|
| +QuicCryptoClientStream* TestQuicSpdyClientSession::GetMutableCryptoStream() {
|
| + return crypto_stream_.get();
|
| +}
|
| +
|
| +const QuicCryptoClientStream* TestQuicSpdyClientSession::GetCryptoStream()
|
| + const {
|
| return crypto_stream_.get();
|
| }
|
|
|
|
|