// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef NET_SPDY_SPDY_BUFFER_H_ #define NET_SPDY_SPDY_BUFFER_H_ #include <cstddef> #include <memory> #include <vector> #include "base/functional/callback_forward.h" #include "base/memory/ref_counted.h" #include "net/base/net_export.h" namespace spdy { class SpdySerializedFrame; } // namespace spdy namespace net { class IOBuffer; // SpdyBuffer is a class to hold data read from or to be written to a // SPDY connection. It is similar to a DrainableIOBuffer but is not // ref-counted and will include a way to get notified when Consume() // is called. // // NOTE(akalin): This explicitly does not inherit from IOBuffer to // avoid the needless ref-counting and to avoid working around the // fact that IOBuffer member functions are not virtual. class NET_EXPORT_PRIVATE SpdyBuffer { … }; } // namespace net #endif // NET_SPDY_SPDY_BUFFER_H_