blob: f27da89ff09bb82604f5362440f489cfe7c0e744 [file] [log] [blame]
QUICHE team82dee2f2019-01-18 12:35:12 -05001// Copyright (c) 2016 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
QUICHE team5be974e2020-12-29 18:35:24 -05005#include "spdy/core/spdy_no_op_visitor.h"
QUICHE team82dee2f2019-01-18 12:35:12 -05006
7#include <type_traits>
8
9namespace spdy {
QUICHE team82dee2f2019-01-18 12:35:12 -050010
11SpdyNoOpVisitor::SpdyNoOpVisitor() {
12 static_assert(std::is_abstract<SpdyNoOpVisitor>::value == false,
13 "Need to update SpdyNoOpVisitor.");
14}
15SpdyNoOpVisitor::~SpdyNoOpVisitor() = default;
16
17SpdyHeadersHandlerInterface* SpdyNoOpVisitor::OnHeaderFrameStart(
danzh8f3a5762019-06-25 13:43:51 -070018 SpdyStreamId /*stream_id*/) {
QUICHE team82dee2f2019-01-18 12:35:12 -050019 return this;
20}
21
danzh8f3a5762019-06-25 13:43:51 -070022bool SpdyNoOpVisitor::OnUnknownFrame(SpdyStreamId /*stream_id*/,
23 uint8_t /*frame_type*/) {
QUICHE team82dee2f2019-01-18 12:35:12 -050024 return true;
25}
26
QUICHE team82dee2f2019-01-18 12:35:12 -050027} // namespace spdy