blob: e2ae4f96f0f8cd5301614e86d6e1093c08bffd96 [file] [log] [blame]
#ifndef QUICHE_SPDY_CORE_HEADER_BYTE_LISTENER_INTERFACE_H_
#define QUICHE_SPDY_CORE_HEADER_BYTE_LISTENER_INTERFACE_H_
#include <stddef.h>
#include "common/platform/api/quiche_export.h"
namespace spdy {
// Listens for the receipt of uncompressed header bytes.
class QUICHE_EXPORT_PRIVATE HeaderByteListenerInterface {
public:
virtual ~HeaderByteListenerInterface() {}
// Called when a header block has been parsed, with the number of uncompressed
// header bytes parsed from the header block.
virtual void OnHeaderBytesReceived(size_t uncompressed_header_bytes) = 0;
};
} // namespace spdy
#endif // QUICHE_SPDY_CORE_HEADER_BYTE_LISTENER_INTERFACE_H_