Index: net/spdy/spdy_frame_builder.h |
diff --git a/net/spdy/spdy_frame_builder.h b/net/spdy/spdy_frame_builder.h |
index c5973ca5c2de45a254d03af6c85cf374343e8e56..3c5f2265fb457a349dc7a5593fabb35b7c41c4c5 100644 |
--- a/net/spdy/spdy_frame_builder.h |
+++ b/net/spdy/spdy_frame_builder.h |
@@ -138,6 +138,14 @@ class NET_EXPORT_PRIVATE SpdyFrameBuilder { |
size_t capacity_; // Allocation size of payload, set by constructor. |
size_t length_; // Length of the latest frame in the buffer. |
size_t offset_; // Position at which the latest frame begins. |
+ |
+ // Remove all four below after |
+ // --gfe2_reloadable_flag_remove_rewritelength deprecates. |
Bence
2017/03/16 18:12:54
s/--gfe2_reloadable_flag_write_queue_zero_copy_buf
yasong
2017/03/16 22:28:52
Done.
|
+ const size_t kLengthFieldLength = 3; |
+ char* start_of_current_frame_ = nullptr; |
+ size_t bytes_of_length_written_in_first_block_ = kLengthFieldLength; |
+ // In case length of a new frame is cross blocks. |
+ char* start_of_current_frame_in_next_block_ = nullptr; |
}; |
} // namespace net |