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

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

Issue 12334063: Land recent QUIC changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more EXPECT_FALSE Created 7 years, 10 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 "net/quic/reliable_quic_stream.h" 7 #include "net/quic/reliable_quic_stream.h"
8 8
9 namespace net { 9 namespace net {
10 namespace test { 10 namespace test {
11 11
12 // static 12 // static
13 void ReliableQuicStreamPeer::SetWriteSideClosed(bool value, 13 void ReliableQuicStreamPeer::SetWriteSideClosed(bool value,
14 ReliableQuicStream* stream) { 14 ReliableQuicStream* stream) {
15 stream->write_side_closed_ = value; 15 stream->write_side_closed_ = value;
16 } 16 }
17 17
18 // static 18 // static
19 void ReliableQuicStreamPeer::SetOffset(QuicStreamOffset offset, 19 void ReliableQuicStreamPeer::SetStreamBytesWritten(
20 ReliableQuicStream* stream) { 20 QuicStreamOffset stream_bytes_written,
21 stream->offset_ = offset; 21 ReliableQuicStream* stream) {
22 stream->stream_bytes_written_ = stream_bytes_written;
22 } 23 }
23 24
24 } // namespace test 25 } // namespace test
25 } // namespace net 26 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/test_tools/reliable_quic_stream_peer.h ('k') | net/quic/test_tools/simple_quic_framer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698