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

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

Issue 2580393003: Replace QuicAckListenerInterface* with scoped_refptr<QuicAckListenerInterface>. (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « net/quic/quartc/quartc_stream_test.cc ('k') | net/quic/test_tools/quic_stream_peer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_QUIC_STREAM_PEER_H_ 5 #ifndef NET_QUIC_TEST_TOOLS_QUIC_STREAM_PEER_H_
6 #define NET_QUIC_TEST_TOOLS_QUIC_STREAM_PEER_H_ 6 #define NET_QUIC_TEST_TOOLS_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 24 matching lines...) Expand all
35 static bool WriteSideClosed(QuicStream* stream); 35 static bool WriteSideClosed(QuicStream* stream);
36 36
37 static uint32_t SizeOfQueuedData(QuicStream* stream); 37 static uint32_t SizeOfQueuedData(QuicStream* stream);
38 38
39 static bool StreamContributesToConnectionFlowControl(QuicStream* stream); 39 static bool StreamContributesToConnectionFlowControl(QuicStream* stream);
40 40
41 static void WriteOrBufferData( 41 static void WriteOrBufferData(
42 QuicStream* stream, 42 QuicStream* stream,
43 base::StringPiece data, 43 base::StringPiece data,
44 bool fin, 44 bool fin,
45 QuicAckListenerInterface* ack_notifier_delegate); 45 const scoped_refptr<QuicAckListenerInterface>& ack_notifier_delegate);
46 46
47 static net::QuicStreamSequencer* sequencer(QuicStream* stream); 47 static net::QuicStreamSequencer* sequencer(QuicStream* stream);
48 48
49 private: 49 private:
50 DISALLOW_COPY_AND_ASSIGN(QuicStreamPeer); 50 DISALLOW_COPY_AND_ASSIGN(QuicStreamPeer);
51 }; 51 };
52 52
53 } // namespace test 53 } // namespace test
54 } // namespace net 54 } // namespace net
55 55
56 #endif // NET_QUIC_TEST_TOOLS_QUIC_STREAM_PEER_H_ 56 #endif // NET_QUIC_TEST_TOOLS_QUIC_STREAM_PEER_H_
OLDNEW
« no previous file with comments | « net/quic/quartc/quartc_stream_test.cc ('k') | net/quic/test_tools/quic_stream_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698