chromium/net/third_party/quiche/src/quiche/http2/http2_constants.cc

// Copyright 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 "quiche/http2/http2_constants.h"

#include <string>

#include "absl/strings/str_cat.h"
#include "absl/strings/str_format.h"
#include "absl/strings/string_view.h"
#include "quiche/common/platform/api/quiche_logging.h"

namespace http2 {

std::string Http2FrameTypeToString(Http2FrameType v) {}

std::string Http2FrameTypeToString(uint8_t v) {}

std::string Http2FrameFlagsToString(Http2FrameType type, uint8_t flags) {}
std::string Http2FrameFlagsToString(uint8_t type, uint8_t flags) {}

std::string Http2ErrorCodeToString(uint32_t v) {}
std::string Http2ErrorCodeToString(Http2ErrorCode v) {}

std::string Http2SettingsParameterToString(uint32_t v) {}
std::string Http2SettingsParameterToString(Http2SettingsParameter v) {}

// Invalid HTTP/2 header names according to
// https://datatracker.ietf.org/doc/html/rfc7540#section-8.1.2.2.
// TODO(b/78024822): Consider adding "upgrade" to this set.
constexpr char const* kHttp2InvalidHeaderNames[] =;

const InvalidHeaderSet& GetInvalidHttp2HeaderSet() {}

}  // namespace http2