| Index: net/spdy/chromium/multiplexed_http_stream.cc
|
| diff --git a/net/spdy/chromium/multiplexed_http_stream.cc b/net/spdy/chromium/multiplexed_http_stream.cc
|
| index 985f643025be755c07076d16a59c1c2f74f14a7d..41045ff72bb11c2f8040de175c0a251090fd08e9 100644
|
| --- a/net/spdy/chromium/multiplexed_http_stream.cc
|
| +++ b/net/spdy/chromium/multiplexed_http_stream.cc
|
| @@ -8,21 +8,22 @@
|
|
|
| namespace net {
|
|
|
| -MultiplexedHttpStream::MultiplexedHttpStream(MultiplexedSessionHandle session)
|
| - : session_(session) {}
|
| +MultiplexedHttpStream::MultiplexedHttpStream(
|
| + std::unique_ptr<MultiplexedSessionHandle> session)
|
| + : session_(std::move(session)) {}
|
|
|
| MultiplexedHttpStream::~MultiplexedHttpStream() {}
|
|
|
| bool MultiplexedHttpStream::GetRemoteEndpoint(IPEndPoint* endpoint) {
|
| - return session_.GetRemoteEndpoint(endpoint);
|
| + return session_->GetRemoteEndpoint(endpoint);
|
| }
|
|
|
| void MultiplexedHttpStream::GetSSLInfo(SSLInfo* ssl_info) {
|
| - session_.GetSSLInfo(ssl_info);
|
| + session_->GetSSLInfo(ssl_info);
|
| }
|
|
|
| void MultiplexedHttpStream::SaveSSLInfo() {
|
| - session_.SaveSSLInfo();
|
| + session_->SaveSSLInfo();
|
| }
|
|
|
| void MultiplexedHttpStream::GetSSLCertRequestInfo(
|
| @@ -36,7 +37,7 @@ Error MultiplexedHttpStream::GetTokenBindingSignature(
|
| crypto::ECPrivateKey* key,
|
| TokenBindingType tb_type,
|
| std::vector<uint8_t>* out) {
|
| - return session_.GetTokenBindingSignature(key, tb_type, out);
|
| + return session_->GetTokenBindingSignature(key, tb_type, out);
|
| }
|
|
|
| void MultiplexedHttpStream::Drain(HttpNetworkSession* session) {
|
|
|