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

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

Issue 131743009: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use size_t instead of int to fix win_x64 compile error 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/quic/test_tools/simple_quic_framer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "net/quic/test_tools/quic_test_writer.h"
6
7 namespace net {
8 namespace test {
9
10 QuicTestWriter::QuicTestWriter() {}
11
12 QuicTestWriter::~QuicTestWriter() {}
13
14 bool QuicTestWriter::IsWriteBlocked() const {
15 return writer_->IsWriteBlocked();
16 }
17
18 void QuicTestWriter::SetWritable() {
19 writer_->SetWritable();
20 }
21
22 QuicPacketWriter* QuicTestWriter::writer() {
23 return writer_.get();
24 }
25
26 void QuicTestWriter::set_writer(QuicPacketWriter* writer) {
27 writer_.reset(writer);
28 }
29
30 } // namespace test
31 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/test_tools/quic_test_writer.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