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

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

Issue 2808273006: Landing Recent QUIC changes until Sun Apr 9 16:12:55 (Closed)
Patch Set: increment enabled_options in e2e test Created 3 years, 8 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 a7faca2ad45fefc45439723432903c9464771d1a..ca4b4a23cbcfd48874afa6212f7d2d94921d99c4 100644
--- a/net/quic/core/quic_data_writer.h
+++ b/net/quic/core/quic_data_writer.h
@@ -52,6 +52,8 @@ class QUIC_EXPORT_PRIVATE QuicDataWriter {
bool WriteRepeatedByte(uint8_t byte, size_t count);
// Fills the remaining buffer with null characters.
void WritePadding();
+ // Write padding of |count| bytes.
+ bool WritePaddingBytes(size_t count);
// Write connection ID as a 64-bit unsigned integer to the payload.
// TODO(fayang): Remove this method and use WriteUInt64() once deprecating
« 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