| Index: net/spdy/chromium/multiplexed_http_stream.h
|
| diff --git a/net/spdy/chromium/multiplexed_http_stream.h b/net/spdy/chromium/multiplexed_http_stream.h
|
| index 9b0ef5f9cff45f3276b99625e6d65e4686e60e8a..15bd7ffc3e5d713d4b218c3ad6c3611e40d4fe1e 100644
|
| --- a/net/spdy/chromium/multiplexed_http_stream.h
|
| +++ b/net/spdy/chromium/multiplexed_http_stream.h
|
| @@ -13,7 +13,8 @@ namespace net {
|
| // Base class for SPDY and QUIC HttpStream subclasses.
|
| class NET_EXPORT_PRIVATE MultiplexedHttpStream : public HttpStream {
|
| public:
|
| - explicit MultiplexedHttpStream(MultiplexedSessionHandle session);
|
| + explicit MultiplexedHttpStream(
|
| + std::unique_ptr<MultiplexedSessionHandle> session);
|
| ~MultiplexedHttpStream() override;
|
|
|
| bool GetRemoteEndpoint(IPEndPoint* endpoint) override;
|
| @@ -30,8 +31,12 @@ class NET_EXPORT_PRIVATE MultiplexedHttpStream : public HttpStream {
|
| // Caches SSL info from the underlying session.
|
| void SaveSSLInfo();
|
|
|
| + protected:
|
| + MultiplexedSessionHandle* session() { return session_.get(); }
|
| + const MultiplexedSessionHandle* session() const { return session_.get(); }
|
| +
|
| private:
|
| - MultiplexedSessionHandle session_;
|
| + const std::unique_ptr<MultiplexedSessionHandle> session_;
|
| };
|
|
|
| } // namespace net
|
|
|