This source file includes following definitions.
- ProduceBuffer
#include "net/spdy/spdy_buffer_producer.h"
#include "base/logging.h"
#include "net/spdy/spdy_buffer.h"
#include "net/spdy/spdy_protocol.h"
namespace net {
SpdyBufferProducer::SpdyBufferProducer() {}
SpdyBufferProducer::~SpdyBufferProducer() {}
SimpleBufferProducer::SimpleBufferProducer(scoped_ptr<SpdyBuffer> buffer)
: buffer_(buffer.Pass()) {}
SimpleBufferProducer::~SimpleBufferProducer() {}
scoped_ptr<SpdyBuffer> SimpleBufferProducer::ProduceBuffer() {
DCHECK(buffer_);
return buffer_.Pass();
}
}