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

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

Issue 127633002: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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
« no previous file with comments | « net/quic/test_tools/quic_test_writer.h ('k') | net/tools/quic/end_to_end_test.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/quic_test_writer.h" 5 #include "net/quic/test_tools/quic_test_writer.h"
6 6
7 namespace net { 7 namespace net {
8 namespace test { 8 namespace test {
9 9
10 QuicTestWriter::QuicTestWriter() {} 10 QuicTestWriter::QuicTestWriter() {}
11 11
12 QuicTestWriter::~QuicTestWriter() {} 12 QuicTestWriter::~QuicTestWriter() {}
13 13
14 bool QuicTestWriter::IsWriteBlocked() const {
15 return writer_->IsWriteBlocked();
16 }
17
18 void QuicTestWriter::SetWritable() {
19 writer_->SetWritable();
20 }
21
14 QuicPacketWriter* QuicTestWriter::writer() { 22 QuicPacketWriter* QuicTestWriter::writer() {
15 return writer_.get(); 23 return writer_.get();
16 } 24 }
17 25
18 void QuicTestWriter::set_writer(QuicPacketWriter* writer) { 26 void QuicTestWriter::set_writer(QuicPacketWriter* writer) {
19 writer_.reset(writer); 27 writer_.reset(writer);
20 } 28 }
21 29
22 } // namespace test 30 } // namespace test
23 } // namespace net 31 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/test_tools/quic_test_writer.h ('k') | net/tools/quic/end_to_end_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698