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

Unified Diff: net/quic/core/quic_data_writer.h

Issue 2759203003: Landing Recent QUIC changes until Thu Mar 16 17:24:53 2017 +0000 (Closed)
Patch Set: float Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/core/quic_data_reader.cc ('k') | net/quic/core/quic_data_writer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_data_writer.h
diff --git a/net/quic/core/quic_data_writer.h b/net/quic/core/quic_data_writer.h
index d4bd367f31322ae4b281a83a9de6863c70a72627..367d559618918a15c535bc389f0e1a7312a24124 100644
--- a/net/quic/core/quic_data_writer.h
+++ b/net/quic/core/quic_data_writer.h
@@ -53,6 +53,12 @@ class QUIC_EXPORT_PRIVATE QuicDataWriter {
// Fills the remaining buffer with null characters.
void WritePadding();
+ // Write connection ID as a 64-bit unsigned integer to the payload.
+ // TODO(fayang): Remove this method and use WriteUInt64() once deprecating
+ // quic_restart_flag_quic_rw_cid_in_big_endian and QuicDataWriter has a mode
+ // indicating writing in little/big endian.
+ bool WriteConnectionId(uint64_t connection_id);
+
size_t capacity() const { return capacity_; }
private:
« no previous file with comments | « net/quic/core/quic_data_reader.cc ('k') | net/quic/core/quic_data_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698