summaryrefslogtreecommitdiff
path: root/chromium/net/spdy/buffered_spdy_framer.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/net/spdy/buffered_spdy_framer.h')
-rw-r--r--chromium/net/spdy/buffered_spdy_framer.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/chromium/net/spdy/buffered_spdy_framer.h b/chromium/net/spdy/buffered_spdy_framer.h
index 08ca82b4262..52469fac537 100644
--- a/chromium/net/spdy/buffered_spdy_framer.h
+++ b/chromium/net/spdy/buffered_spdy_framer.h
@@ -18,16 +18,16 @@
#include "net/log/net_log_source.h"
#include "net/spdy/header_coalescer.h"
#include "net/third_party/quiche/src/quiche/spdy/core/http2_frame_decoder_adapter.h"
+#include "net/third_party/quiche/src/quiche/spdy/core/http2_header_block.h"
#include "net/third_party/quiche/src/quiche/spdy/core/spdy_alt_svc_wire_format.h"
#include "net/third_party/quiche/src/quiche/spdy/core/spdy_framer.h"
-#include "net/third_party/quiche/src/quiche/spdy/core/spdy_header_block.h"
#include "net/third_party/quiche/src/quiche/spdy/core/spdy_protocol.h"
namespace net {
class NET_EXPORT_PRIVATE BufferedSpdyFramerVisitorInterface {
public:
- BufferedSpdyFramerVisitorInterface() {}
+ BufferedSpdyFramerVisitorInterface() = default;
BufferedSpdyFramerVisitorInterface(
const BufferedSpdyFramerVisitorInterface&) = delete;
@@ -123,13 +123,13 @@ class NET_EXPORT_PRIVATE BufferedSpdyFramerVisitorInterface {
uint8_t frame_type) = 0;
protected:
- virtual ~BufferedSpdyFramerVisitorInterface() {}
+ virtual ~BufferedSpdyFramerVisitorInterface() = default;
};
class NET_EXPORT_PRIVATE BufferedSpdyFramer
: public spdy::SpdyFramerVisitorInterface {
public:
- using TimeFunc = base::TimeTicks (*)(void);
+ using TimeFunc = base::TimeTicks (*)();
BufferedSpdyFramer(uint32_t max_header_list_size,
const NetLogWithSource& net_log,
@@ -205,6 +205,12 @@ class NET_EXPORT_PRIVATE BufferedSpdyFramer
absl::string_view priority_field_value) override {}
bool OnUnknownFrame(spdy::SpdyStreamId stream_id,
uint8_t frame_type) override;
+ void OnUnknownFrameStart(spdy::SpdyStreamId stream_id,
+ size_t length,
+ uint8_t type,
+ uint8_t flags) override {}
+ void OnUnknownFramePayload(spdy::SpdyStreamId stream_id,
+ absl::string_view payload) override {}
// spdy::SpdyFramer methods.
size_t ProcessInput(const char* data, size_t len);