blob: 443d9a28b9cf08b12282ddb23fdb354c568b4201 [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 {
10namespace test {
11
12SpdyNoOpVisitor::SpdyNoOpVisitor() {
13 static_assert(std::is_abstract<SpdyNoOpVisitor>::value == false,
14 "Need to update SpdyNoOpVisitor.");
15}
16SpdyNoOpVisitor::~SpdyNoOpVisitor() = default;
17
18SpdyHeadersHandlerInterface* SpdyNoOpVisitor::OnHeaderFrameStart(
danzh8f3a5762019-06-25 13:43:51 -070019 SpdyStreamId /*stream_id*/) {
QUICHE team82dee2f2019-01-18 12:35:12 -050020 return this;
21}
22
danzh8f3a5762019-06-25 13:43:51 -070023bool SpdyNoOpVisitor::OnUnknownFrame(SpdyStreamId /*stream_id*/,
24 uint8_t /*frame_type*/) {
QUICHE team82dee2f2019-01-18 12:35:12 -050025 return true;
26}
27
28} // namespace test
29} // namespace spdy