blob: ddf3f6ef40180382df47bbcece8586b890d0236b [file] [log] [blame]
// Copyright (c) 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/spdy/spdy_no_op_visitor.h"
#include <type_traits>
namespace net {
namespace test {
SpdyNoOpVisitor::SpdyNoOpVisitor() {
static_assert(std::is_abstract<SpdyNoOpVisitor>::value == false,
"Need to update SpdyNoOpVisitor.");
}
SpdyNoOpVisitor::~SpdyNoOpVisitor() {}
net::SpdyHeadersHandlerInterface* SpdyNoOpVisitor::OnHeaderFrameStart(
SpdyStreamId stream_id) {
return this;
}
bool SpdyNoOpVisitor::OnUnknownFrame(SpdyStreamId stream_id,
uint8_t frame_type) {
return true;
}
} // namespace test
} // namespace net