#include "net/spdy/header_coalescer.h"
#include <memory>
#include <string>
#include <string_view>
#include <utility>
#include "base/ranges/algorithm.h"
#include "base/strings/string_util.h"
#include "base/strings/stringprintf.h"
#include "base/trace_event/memory_usage_estimator.h"
#include "base/values.h"
#include "net/http/http_log_util.h"
#include "net/http/http_util.h"
#include "net/log/net_log_values.h"
namespace net {
namespace {
void NetLogInvalidHeader(const NetLogWithSource& net_log,
std::string_view header_name,
std::string_view header_value,
const char* error_message) { … }
bool ContainsUppercaseAscii(std::string_view str) { … }
}
HeaderCoalescer::HeaderCoalescer(uint32_t max_header_list_size,
const NetLogWithSource& net_log)
: … { … }
void HeaderCoalescer::OnHeader(std::string_view key, std::string_view value) { … }
quiche::HttpHeaderBlock HeaderCoalescer::release_headers() { … }
bool HeaderCoalescer::AddHeader(std::string_view key, std::string_view value) { … }
}