summaryrefslogtreecommitdiffstats
path: root/net/spdy/spdy_framer.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/spdy/spdy_framer.h')
-rw-r--r--net/spdy/spdy_framer.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/spdy/spdy_framer.h b/net/spdy/spdy_framer.h
index 2b48f93..4ee88a6 100644
--- a/net/spdy/spdy_framer.h
+++ b/net/spdy/spdy_framer.h
@@ -444,6 +444,8 @@ class NET_EXPORT_PRIVATE SpdyFramer {
SpdyDataFrame* CreateDataFrame(SpdyStreamId stream_id, const char* data,
uint32 len, SpdyDataFlags flags) const;
SpdySerializedFrame* SerializeData(const SpdyDataIR& data) const;
+ // Serializes just the data frame header, excluding actual data payload.
+ SpdySerializedFrame* SerializeDataFrameHeader(const SpdyDataIR& data) const;
// NOTES about frame compression.
// We want spdy to compress headers across the entire session. As long as
@@ -477,8 +479,8 @@ class NET_EXPORT_PRIVATE SpdyFramer {
display_protocol_ = protocol;
}
- // Returns the (minimum) size of control frames (sans variable-length
- // portions).
+ // Returns the (minimum) size of frames (sans variable-length portions).
+ size_t GetDataFrameMinimumSize() const;
size_t GetControlFrameMinimumSize() const;
size_t GetSynStreamMinimumSize() const;
size_t GetSynReplyMinimumSize() const;