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