chromium/services/network/public/cpp/timing_allow_origin_parser.cc

// Copyright 2021 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/timing_allow_origin_parser.h"

#include <string>
#include <utility>
#include <vector>

#include "base/containers/contains.h"
#include "net/http/http_util.h"
#include "services/network/public/mojom/timing_allow_origin.mojom-forward.h"

namespace network {

// https://fetch.spec.whatwg.org/#concept-tao-check
// https://w3c.github.io/resource-timing/#dfn-timing-allow-origin
mojom::TimingAllowOriginPtr ParseTimingAllowOrigin(const std::string& value) {}

// https://fetch.spec.whatwg.org/#concept-tao-check
bool TimingAllowOriginCheck(const mojom::TimingAllowOriginPtr& tao,
                            const url::Origin& origin) {}

}  // namespace network