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

Unified Diff: net/quic/quic_data_writer.h

Issue 11377096: Change from re-transmitting an packet with a retransmit number to sending a new packet with a new s… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/quic_connection_test.cc ('k') | net/quic/quic_data_writer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_data_writer.h
diff --git a/net/quic/quic_data_writer.h b/net/quic/quic_data_writer.h
index 25a215a4e3ff28bfa9687ffbeb40af85a1027608..0171e52c97ad7808e34095146cd3f0df8a36de17 100644
--- a/net/quic/quic_data_writer.h
+++ b/net/quic/quic_data_writer.h
@@ -47,6 +47,10 @@ class NET_EXPORT_PRIVATE QuicDataWriter {
bool WriteStringPiece16(base::StringPiece val);
bool WriteBytes(const void* data, uint32 data_len);
+ static void WriteUint8ToBuffer(uint8 value, char* buffer);
+ static void WriteUint16ToBuffer(uint16 value, char* buffer);
+ static void WriteUint32ToBuffer(uint32 value, char* buffer);
+ static void WriteUint48ToBuffer(uint64 value, char* buffer);
static void WriteUint64ToBuffer(uint64 value, char* buffer);
static void WriteUint128ToBuffer(uint128 value, char* buffer);
« no previous file with comments | « net/quic/quic_connection_test.cc ('k') | net/quic/quic_data_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698