Index: net/spdy/spdy_framer.h |
=================================================================== |
--- net/spdy/spdy_framer.h (revision 105257) |
+++ net/spdy/spdy_framer.h (working copy) |
@@ -286,6 +286,9 @@ |
// Returns true if a frame could be compressed. |
bool IsCompressible(const SpdyFrame& frame) const; |
+ // Returns true if the frame is a PING frame. |
+ bool IsPingFrame(const SpdyFrame& frame) const; |
+ |
// Get the minimum size of the control frame for the given control frame |
// type. This is useful for validating frame blocks. |
static size_t GetMinimumControlFrameSize(SpdyControlType type); |