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

Unified Diff: net/spdy/spdy_frame_builder.h

Issue 202063002: Added OverwriteFlags method to SpdyFrameBuilder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | « no previous file | net/spdy/spdy_frame_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_frame_builder.h
diff --git a/net/spdy/spdy_frame_builder.h b/net/spdy/spdy_frame_builder.h
index 9e26cccd1b5b09f3559828990d569cfd175361f6..f9826d0ae5301ecea8292534b734be21d41227d0 100644
--- a/net/spdy/spdy_frame_builder.h
+++ b/net/spdy/spdy_frame_builder.h
@@ -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.
« no previous file with comments | « no previous file | net/spdy/spdy_frame_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698