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

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

Issue 100173005: Break out the basic reliable QUIC stream functionality from the (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « net/quic/test_tools/quic_test_utils.h ('k') | net/quic/test_tools/reliable_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_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 "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "net/quic/quic_protocol.h" 9 #include "net/quic/quic_protocol.h"
10 10
11 namespace net { 11 namespace net {
12 12
13 class ReliableQuicStream; 13 class ReliableQuicStream;
14 14
15 namespace test { 15 namespace test {
16 16
17 class ReliableQuicStreamPeer { 17 class ReliableQuicStreamPeer {
18 public: 18 public:
19 static void SetWriteSideClosed(bool value, ReliableQuicStream* stream); 19 static void SetWriteSideClosed(bool value, ReliableQuicStream* stream);
20 static void SetStreamBytesWritten(QuicStreamOffset stream_bytes_written, 20 static void SetStreamBytesWritten(QuicStreamOffset stream_bytes_written,
21 ReliableQuicStream* stream); 21 ReliableQuicStream* stream);
22 static void SetHeadersDecompressed(ReliableQuicStream* stream,
23 bool headers_decompressed);
24 22
25 private: 23 private:
26 DISALLOW_COPY_AND_ASSIGN(ReliableQuicStreamPeer); 24 DISALLOW_COPY_AND_ASSIGN(ReliableQuicStreamPeer);
27 }; 25 };
28 26
29 } // namespace test 27 } // namespace test
30 } // namespace net 28 } // namespace net
31 29
32 #endif // NET_QUIC_TEST_TOOLS_RELIABLE_QUIC_STREAM_PEER_H_ 30 #endif // NET_QUIC_TEST_TOOLS_RELIABLE_QUIC_STREAM_PEER_H_
OLDNEW
« no previous file with comments | « net/quic/test_tools/quic_test_utils.h ('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