#include "quiche/http2/test_tools/http2_frame_decoder_listener_test_util.h"
#include "quiche/http2/decoder/http2_frame_decoder_listener.h"
#include "quiche/http2/http2_constants.h"
#include "quiche/http2/http2_structures.h"
#include "quiche/common/platform/api/quiche_logging.h"
#include "quiche/common/platform/api/quiche_test.h"
namespace http2 {
FailingHttp2FrameDecoderListener::FailingHttp2FrameDecoderListener() = default;
FailingHttp2FrameDecoderListener::~FailingHttp2FrameDecoderListener() = default;
bool FailingHttp2FrameDecoderListener::OnFrameHeader(
const Http2FrameHeader& header) { … }
void FailingHttp2FrameDecoderListener::OnDataStart(
const Http2FrameHeader& header) { … }
void FailingHttp2FrameDecoderListener::OnDataPayload(const char* ,
size_t len) { … }
void FailingHttp2FrameDecoderListener::OnDataEnd() { … }
void FailingHttp2FrameDecoderListener::OnHeadersStart(
const Http2FrameHeader& header) { … }
void FailingHttp2FrameDecoderListener::OnHeadersPriority(
const Http2PriorityFields& priority) { … }
void FailingHttp2FrameDecoderListener::OnHpackFragment(const char* ,
size_t len) { … }
void FailingHttp2FrameDecoderListener::OnHeadersEnd() { … }
void FailingHttp2FrameDecoderListener::OnPriorityFrame(
const Http2FrameHeader& header, const Http2PriorityFields& priority) { … }
void FailingHttp2FrameDecoderListener::OnContinuationStart(
const Http2FrameHeader& header) { … }
void FailingHttp2FrameDecoderListener::OnContinuationEnd() { … }
void FailingHttp2FrameDecoderListener::OnPadLength(size_t trailing_length) { … }
void FailingHttp2FrameDecoderListener::OnPadding(const char* ,
size_t skipped_length) { … }
void FailingHttp2FrameDecoderListener::OnRstStream(
const Http2FrameHeader& header, Http2ErrorCode error_code) { … }
void FailingHttp2FrameDecoderListener::OnSettingsStart(
const Http2FrameHeader& header) { … }
void FailingHttp2FrameDecoderListener::OnSetting(
const Http2SettingFields& setting_fields) { … }
void FailingHttp2FrameDecoderListener::OnSettingsEnd() { … }
void FailingHttp2FrameDecoderListener::OnSettingsAck(
const Http2FrameHeader& header) { … }
void FailingHttp2FrameDecoderListener::OnPushPromiseStart(
const Http2FrameHeader& header, const Http2PushPromiseFields& promise,
size_t total_padding_length) { … }
void FailingHttp2FrameDecoderListener::OnPushPromiseEnd() { … }
void FailingHttp2FrameDecoderListener::OnPing(const Http2FrameHeader& header,
const Http2PingFields& ping) { … }
void FailingHttp2FrameDecoderListener::OnPingAck(const Http2FrameHeader& header,
const Http2PingFields& ping) { … }
void FailingHttp2FrameDecoderListener::OnGoAwayStart(
const Http2FrameHeader& header, const Http2GoAwayFields& goaway) { … }
void FailingHttp2FrameDecoderListener::OnGoAwayOpaqueData(const char* ,
size_t len) { … }
void FailingHttp2FrameDecoderListener::OnGoAwayEnd() { … }
void FailingHttp2FrameDecoderListener::OnWindowUpdate(
const Http2FrameHeader& header, uint32_t increment) { … }
void FailingHttp2FrameDecoderListener::OnAltSvcStart(
const Http2FrameHeader& header, size_t origin_length, size_t value_length) { … }
void FailingHttp2FrameDecoderListener::OnAltSvcOriginData(const char* ,
size_t len) { … }
void FailingHttp2FrameDecoderListener::OnAltSvcValueData(const char* ,
size_t len) { … }
void FailingHttp2FrameDecoderListener::OnAltSvcEnd() { … }
void FailingHttp2FrameDecoderListener::OnPriorityUpdateStart(
const Http2FrameHeader& header,
const Http2PriorityUpdateFields& priority_update) { … }
void FailingHttp2FrameDecoderListener::OnPriorityUpdatePayload(
const char* , size_t len) { … }
void FailingHttp2FrameDecoderListener::OnPriorityUpdateEnd() { … }
void FailingHttp2FrameDecoderListener::OnUnknownStart(
const Http2FrameHeader& header) { … }
void FailingHttp2FrameDecoderListener::OnUnknownPayload(const char* ,
size_t len) { … }
void FailingHttp2FrameDecoderListener::OnUnknownEnd() { … }
void FailingHttp2FrameDecoderListener::OnPaddingTooLong(
const Http2FrameHeader& header, size_t missing_length) { … }
void FailingHttp2FrameDecoderListener::OnFrameSizeError(
const Http2FrameHeader& header) { … }
LoggingHttp2FrameDecoderListener::LoggingHttp2FrameDecoderListener()
: … { … }
LoggingHttp2FrameDecoderListener::LoggingHttp2FrameDecoderListener(
Http2FrameDecoderListener* wrapped)
: … { … }
LoggingHttp2FrameDecoderListener::~LoggingHttp2FrameDecoderListener() = default;
bool LoggingHttp2FrameDecoderListener::OnFrameHeader(
const Http2FrameHeader& header) { … }
void LoggingHttp2FrameDecoderListener::OnDataStart(
const Http2FrameHeader& header) { … }
void LoggingHttp2FrameDecoderListener::OnDataPayload(const char* data,
size_t len) { … }
void LoggingHttp2FrameDecoderListener::OnDataEnd() { … }
void LoggingHttp2FrameDecoderListener::OnHeadersStart(
const Http2FrameHeader& header) { … }
void LoggingHttp2FrameDecoderListener::OnHeadersPriority(
const Http2PriorityFields& priority) { … }
void LoggingHttp2FrameDecoderListener::OnHpackFragment(const char* data,
size_t len) { … }
void LoggingHttp2FrameDecoderListener::OnHeadersEnd() { … }
void LoggingHttp2FrameDecoderListener::OnPriorityFrame(
const Http2FrameHeader& header, const Http2PriorityFields& priority) { … }
void LoggingHttp2FrameDecoderListener::OnContinuationStart(
const Http2FrameHeader& header) { … }
void LoggingHttp2FrameDecoderListener::OnContinuationEnd() { … }
void LoggingHttp2FrameDecoderListener::OnPadLength(size_t trailing_length) { … }
void LoggingHttp2FrameDecoderListener::OnPadding(const char* padding,
size_t skipped_length) { … }
void LoggingHttp2FrameDecoderListener::OnRstStream(
const Http2FrameHeader& header, Http2ErrorCode error_code) { … }
void LoggingHttp2FrameDecoderListener::OnSettingsStart(
const Http2FrameHeader& header) { … }
void LoggingHttp2FrameDecoderListener::OnSetting(
const Http2SettingFields& setting_fields) { … }
void LoggingHttp2FrameDecoderListener::OnSettingsEnd() { … }
void LoggingHttp2FrameDecoderListener::OnSettingsAck(
const Http2FrameHeader& header) { … }
void LoggingHttp2FrameDecoderListener::OnPushPromiseStart(
const Http2FrameHeader& header, const Http2PushPromiseFields& promise,
size_t total_padding_length) { … }
void LoggingHttp2FrameDecoderListener::OnPushPromiseEnd() { … }
void LoggingHttp2FrameDecoderListener::OnPing(const Http2FrameHeader& header,
const Http2PingFields& ping) { … }
void LoggingHttp2FrameDecoderListener::OnPingAck(const Http2FrameHeader& header,
const Http2PingFields& ping) { … }
void LoggingHttp2FrameDecoderListener::OnGoAwayStart(
const Http2FrameHeader& header, const Http2GoAwayFields& goaway) { … }
void LoggingHttp2FrameDecoderListener::OnGoAwayOpaqueData(const char* data,
size_t len) { … }
void LoggingHttp2FrameDecoderListener::OnGoAwayEnd() { … }
void LoggingHttp2FrameDecoderListener::OnWindowUpdate(
const Http2FrameHeader& header, uint32_t increment) { … }
void LoggingHttp2FrameDecoderListener::OnAltSvcStart(
const Http2FrameHeader& header, size_t origin_length, size_t value_length) { … }
void LoggingHttp2FrameDecoderListener::OnAltSvcOriginData(const char* data,
size_t len) { … }
void LoggingHttp2FrameDecoderListener::OnAltSvcValueData(const char* data,
size_t len) { … }
void LoggingHttp2FrameDecoderListener::OnAltSvcEnd() { … }
void LoggingHttp2FrameDecoderListener::OnPriorityUpdateStart(
const Http2FrameHeader& header,
const Http2PriorityUpdateFields& priority_update) { … }
void LoggingHttp2FrameDecoderListener::OnPriorityUpdatePayload(const char* data,
size_t len) { … }
void LoggingHttp2FrameDecoderListener::OnPriorityUpdateEnd() { … }
void LoggingHttp2FrameDecoderListener::OnUnknownStart(
const Http2FrameHeader& header) { … }
void LoggingHttp2FrameDecoderListener::OnUnknownPayload(const char* data,
size_t len) { … }
void LoggingHttp2FrameDecoderListener::OnUnknownEnd() { … }
void LoggingHttp2FrameDecoderListener::OnPaddingTooLong(
const Http2FrameHeader& header, size_t missing_length) { … }
void LoggingHttp2FrameDecoderListener::OnFrameSizeError(
const Http2FrameHeader& header) { … }
}