Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(480)

Side by Side Diff: net/quic/test_tools/reliable_quic_stream_peer.cc

Issue 368803003: QUIC_VERSION_21: headers and crypto streams are now flow controlled at (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/quic/test_tools/reliable_quic_stream_peer.h" 5 #include "net/quic/test_tools/reliable_quic_stream_peer.h"
6 6
7 #include <list> 7 #include <list>
8 8
9 #include "net/quic/reliable_quic_stream.h" 9 #include "net/quic/reliable_quic_stream.h"
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 } 50 }
51 return total; 51 return total;
52 } 52 }
53 53
54 // static 54 // static
55 void ReliableQuicStreamPeer::SetFecPolicy(ReliableQuicStream* stream, 55 void ReliableQuicStreamPeer::SetFecPolicy(ReliableQuicStream* stream,
56 FecPolicy fec_policy) { 56 FecPolicy fec_policy) {
57 stream->set_fec_policy(fec_policy); 57 stream->set_fec_policy(fec_policy);
58 } 58 }
59 59
60 // static
61 bool ReliableQuicStreamPeer::StreamContributesToConnectionFlowControl(
62 ReliableQuicStream* stream) {
63 return stream->stream_contributes_to_connection_flow_control_;
64 }
65
60 } // namespace test 66 } // namespace test
61 } // namespace net 67 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698