Lines Matching refs:SpdyFrame
331 // All Spdy Frame types derive from this SpdyFrame class.
332 class SpdyFrame {
334 // Create a SpdyFrame for a given sized buffer.
335 explicit SpdyFrame(size_t size) : frame_(NULL), owns_buffer_(true) {
342 // Create a SpdyFrame using a pre-created buffer.
349 SpdyFrame(char* data, bool owns_buffer)
355 ~SpdyFrame() {
386 // Every SpdyFrame* class has a static size() method for accessing
388 // Note: this is not the same as sizeof(SpdyFrame).
396 DISALLOW_COPY_AND_ASSIGN(SpdyFrame);
400 class SpdyDataFrame : public SpdyFrame {
402 SpdyDataFrame() : SpdyFrame(size()) {}
404 : SpdyFrame(data, owns_buffer) {}
420 static size_t size() { return SpdyFrame::size(); }
431 class SpdyControlFrame : public SpdyFrame {
433 explicit SpdyControlFrame(size_t size) : SpdyFrame(size) {}
435 : SpdyFrame(data, owns_buffer) {}
524 return length() - (size() - SpdyFrame::size());
561 return length() - (size() - SpdyFrame::size());
638 return length() - (size() - SpdyFrame::size());
736 return length() - (size() - SpdyFrame::size());