chromium/services/network/public/cpp/supports_loading_mode/supports_loading_mode_parser.cc

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "services/network/public/cpp/supports_loading_mode/supports_loading_mode_parser.h"

#include <optional>
#include <ranges>

#include "base/ranges/algorithm.h"
#include "net/http/http_response_headers.h"
#include "net/http/structured_headers.h"
#include "services/network/public/mojom/supports_loading_mode.mojom.h"

namespace network {

namespace {

constexpr std::string_view kSupportsLoadingMode =;
constexpr struct KnownLoadingMode {} kKnownLoadingModes[] =;

}  // namespace

mojom::SupportsLoadingModePtr ParseSupportsLoadingMode(
    std::string_view header_value) {}

mojom::SupportsLoadingModePtr ParseSupportsLoadingMode(
    const net::HttpResponseHeaders& headers) {}

}  // namespace network