summaryrefslogtreecommitdiffstats
path: root/net/spdy/buffered_spdy_framer.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/spdy/buffered_spdy_framer.h')
-rw-r--r--net/spdy/buffered_spdy_framer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/spdy/buffered_spdy_framer.h b/net/spdy/buffered_spdy_framer.h
index 1e1fa83..06247dd 100644
--- a/net/spdy/buffered_spdy_framer.h
+++ b/net/spdy/buffered_spdy_framer.h
@@ -180,6 +180,12 @@ class NET_EXPORT_PRIVATE BufferedSpdyFramer
SpdyDataFlags flags);
SpdyPriority GetHighestPriority() const;
+ // Returns the (minimum) size of control frames (sans variable-length
+ // portions).
+ size_t GetControlFrameMinimumSize() const {
+ return spdy_framer_.GetControlFrameMinimumSize();
+ }
+
int frames_received() const { return frames_received_; }
private: