1 // Copyright (c) 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "net/quic/test_tools/quic_spdy_session_peer.h"
7 #include "net/quic/quic_spdy_session.h"
13 QuicHeadersStream
* QuicSpdySessionPeer::GetHeadersStream(
14 QuicSpdySession
* session
) {
15 return session
->headers_stream_
.get();
19 void QuicSpdySessionPeer::SetHeadersStream(QuicSpdySession
* session
,
20 QuicHeadersStream
* headers_stream
) {
21 session
->headers_stream_
.reset(headers_stream
);
22 session
->static_streams()[headers_stream
->id()] = headers_stream
;