chromium/net/first_party_sets/local_set_declaration.h

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

#ifndef NET_FIRST_PARTY_SETS_LOCAL_SET_DECLARATION_H_
#define NET_FIRST_PARTY_SETS_LOCAL_SET_DECLARATION_H_

#include "base/containers/flat_map.h"
#include "net/base/net_export.h"
#include "net/base/schemeful_site.h"
#include "net/first_party_sets/first_party_set_entry.h"

namespace net {

// LocalSetDeclaration represents a Related Website Set that was defined locally
// by a web developer (as opposed to being one of the public Related Website
// Sets, or a set from the RelatedWebsiteSetsOverrides policy).
//
// Locally-defined sets take precedence over the public sets (for testing
// purposes), but can be overridden by the RelatedWebsiteSetsOverrides policy.
//
// See `GlobalFirstPartySets` for how overlaps/shadowing between public sets,
// locally-defined sets, and enterprise policy sets is handled.
class NET_EXPORT LocalSetDeclaration {};

}  // namespace net

#endif  // NET_FIRST_PARTY_SETS_LOCAL_SET_DECLARATION_H_