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

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

Issue 1784903003: Remove FEC from send path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@114770052
Patch Set: Restore accidentally removed OnRttChanged call Created 4 years, 9 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
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 #ifndef NET_QUIC_TEST_TOOLS_RELIABLE_QUIC_STREAM_PEER_H_ 5 #ifndef NET_QUIC_TEST_TOOLS_RELIABLE_QUIC_STREAM_PEER_H_
6 #define NET_QUIC_TEST_TOOLS_RELIABLE_QUIC_STREAM_PEER_H_ 6 #define NET_QUIC_TEST_TOOLS_RELIABLE_QUIC_STREAM_PEER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 17 matching lines...) Expand all
28 static bool FinSent(ReliableQuicStream* stream); 28 static bool FinSent(ReliableQuicStream* stream);
29 static bool FinReceived(ReliableQuicStream* stream); 29 static bool FinReceived(ReliableQuicStream* stream);
30 static bool RstSent(ReliableQuicStream* stream); 30 static bool RstSent(ReliableQuicStream* stream);
31 static bool RstReceived(ReliableQuicStream* stream); 31 static bool RstReceived(ReliableQuicStream* stream);
32 32
33 static bool ReadSideClosed(ReliableQuicStream* stream); 33 static bool ReadSideClosed(ReliableQuicStream* stream);
34 static bool WriteSideClosed(ReliableQuicStream* stream); 34 static bool WriteSideClosed(ReliableQuicStream* stream);
35 35
36 static uint32_t SizeOfQueuedData(ReliableQuicStream* stream); 36 static uint32_t SizeOfQueuedData(ReliableQuicStream* stream);
37 37
38 static void SetFecPolicy(ReliableQuicStream* stream, FecPolicy fec_policy);
39
40 static bool StreamContributesToConnectionFlowControl( 38 static bool StreamContributesToConnectionFlowControl(
41 ReliableQuicStream* stream); 39 ReliableQuicStream* stream);
42 40
43 static void WriteOrBufferData( 41 static void WriteOrBufferData(
44 ReliableQuicStream* stream, 42 ReliableQuicStream* stream,
45 base::StringPiece data, 43 base::StringPiece data,
46 bool fin, 44 bool fin,
47 QuicAckListenerInterface* ack_notifier_delegate); 45 QuicAckListenerInterface* ack_notifier_delegate);
48 46
49 private: 47 private:
50 DISALLOW_COPY_AND_ASSIGN(ReliableQuicStreamPeer); 48 DISALLOW_COPY_AND_ASSIGN(ReliableQuicStreamPeer);
51 }; 49 };
52 50
53 } // namespace test 51 } // namespace test
54 } // namespace net 52 } // namespace net
55 53
56 #endif // NET_QUIC_TEST_TOOLS_RELIABLE_QUIC_STREAM_PEER_H_ 54 #endif // NET_QUIC_TEST_TOOLS_RELIABLE_QUIC_STREAM_PEER_H_
OLDNEW
« no previous file with comments | « net/quic/test_tools/quic_test_utils.cc ('k') | net/quic/test_tools/reliable_quic_stream_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698