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

Side by Side Diff: net/tools/quic/quic_packet_writer_wrapper.cc

Issue 309013006: Add quic_types.h and move the typedefs unrelated to the QUIC protocol (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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/reliable_quic_stream.h ('k') | net/tools/quic/quic_socket_utils.h » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/tools/quic/quic_packet_writer_wrapper.h" 5 #include "net/tools/quic/quic_packet_writer_wrapper.h"
6 6
7 #include "net/quic/quic_protocol.h" 7 #include "net/quic/quic_types.h"
8 8
9 namespace net { 9 namespace net {
10 namespace tools { 10 namespace tools {
11 11
12 QuicPacketWriterWrapper::QuicPacketWriterWrapper() {} 12 QuicPacketWriterWrapper::QuicPacketWriterWrapper() {}
13 13
14 QuicPacketWriterWrapper::QuicPacketWriterWrapper(QuicPacketWriter* writer) 14 QuicPacketWriterWrapper::QuicPacketWriterWrapper(QuicPacketWriter* writer)
15 : writer_(writer) {} 15 : writer_(writer) {}
16 16
17 QuicPacketWriterWrapper::~QuicPacketWriterWrapper() {} 17 QuicPacketWriterWrapper::~QuicPacketWriterWrapper() {}
(...skipping 21 matching lines...) Expand all
39 void QuicPacketWriterWrapper::set_writer(QuicPacketWriter* writer) { 39 void QuicPacketWriterWrapper::set_writer(QuicPacketWriter* writer) {
40 writer_.reset(writer); 40 writer_.reset(writer);
41 } 41 }
42 42
43 QuicPacketWriter* QuicPacketWriterWrapper::release_writer() { 43 QuicPacketWriter* QuicPacketWriterWrapper::release_writer() {
44 return writer_.release(); 44 return writer_.release();
45 } 45 }
46 46
47 } // namespace tools 47 } // namespace tools
48 } // namespace net 48 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/reliable_quic_stream.h ('k') | net/tools/quic/quic_socket_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698