Lines Matching refs:CONSUME
66 // Construct a SpdyBuffer and call Consume() on it, which should
68 // as calling the consume callbacks.
69 TEST_F(SpdyBufferTest, Consume) {
75 base::Bind(&IncrementBy, &x1, SpdyBuffer::CONSUME));
77 base::Bind(&IncrementBy, &x2, SpdyBuffer::CONSUME));
81 buffer.Consume(5);
86 buffer.Consume(kDataSize - 5);
108 // Consume().
112 buffer.Consume(5);
118 buffer.Consume(kDataSize - 5);