Index: net/spdy/spdy_frame_builder.h |
diff --git a/net/spdy/spdy_frame_builder.h b/net/spdy/spdy_frame_builder.h |
index c8dd82e5279ede707ebb5d3b310a34f42e9b8f41..f9826d0ae5301ecea8292534b734be21d41227d0 100644 |
--- a/net/spdy/spdy_frame_builder.h |
+++ b/net/spdy/spdy_frame_builder.h |
@@ -59,7 +59,7 @@ class NET_EXPORT_PRIVATE SpdyFrameBuilder { |
// information from the |framer| and length information from capacity_. |
bool WriteDataFrameHeader(const SpdyFramer& framer, |
SpdyStreamId stream_id, |
- SpdyDataFlags flags); |
+ uint8 flags); |
// Populates this frame with a SPDY4/HTTP2 frame prefix using |
// version-specific information from the |framer| and length information from |
@@ -117,6 +117,11 @@ class NET_EXPORT_PRIVATE SpdyFrameBuilder { |
// with the correct version for the frame being written. |
bool OverwriteLength(const SpdyFramer& framer, size_t length); |
+ // Update (in-place) the flags field in the frame being built to reflect the |
+ // given flags value. |
+ // Used only for SPDY versions >=4. |
+ bool OverwriteFlags(const SpdyFramer& framer, uint8 flags); |
+ |
private: |
// Checks to make sure that there is an appropriate amount of space for a |
// write of given size, in bytes. |