Index: net/quic/quic_protocol.cc |
diff --git a/net/quic/quic_protocol.cc b/net/quic/quic_protocol.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..78c0241dde0f7349057463feffc75f99b3c51f52 |
--- /dev/null |
+++ b/net/quic/quic_protocol.cc |
@@ -0,0 +1,39 @@ |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "net/quic/quic_protocol.h" |
+ |
+using base::StringPiece; |
+ |
+namespace net { |
+ |
+QuicStreamFragment::QuicStreamFragment() {} |
+ |
+QuicStreamFragment::QuicStreamFragment(QuicStreamId stream_id, |
+ bool fin, |
+ uint64 offset, |
+ StringPiece data) |
+ : stream_id(stream_id), |
+ fin(fin), |
+ offset(offset), |
+ data(data) { |
+} |
+ |
+ReceivedPacketInfo::ReceivedPacketInfo() {} |
+ |
+ReceivedPacketInfo::~ReceivedPacketInfo() {} |
+ |
+SentPacketInfo::SentPacketInfo() {} |
+ |
+SentPacketInfo::~SentPacketInfo() {} |
+ |
+QuicFecData::QuicFecData() {} |
+ |
+QuicData::~QuicData() { |
+ if (owns_buffer_) { |
+ delete [] const_cast<char*>(buffer_); |
+ } |
+} |
+ |
+} // namespace net |