#include "net/http/http_cookie_indices.h"
#include <functional>
#include "base/containers/span.h"
#include "base/pickle.h"
#include "base/ranges/algorithm.h"
#include "crypto/sha2.h"
#include "net/cookies/parsed_cookie.h"
#include "net/http/http_response_headers.h"
#include "net/http/structured_headers.h"
namespace net {
namespace {
constexpr std::string_view kCookieIndicesHeader = …;
}
std::optional<std::vector<std::string>> ParseCookieIndices(
const HttpResponseHeaders& headers) { … }
CookieIndicesHash HashCookieIndices(
base::span<const std::string> cookie_indices,
base::span<const std::pair<std::string, std::string>> cookies) { … }
}