// Copyright 2024 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_FIRST_PARTY_SETS_VALIDATOR_H_ #define NET_FIRST_PARTY_SETS_FIRST_PARTY_SETS_VALIDATOR_H_ #include <map> #include "net/base/net_export.h" #include "net/base/schemeful_site.h" namespace net { // The helper class to check the validity of the Related Website Sets // (First-Party Sets). E.g. Check whether the sets contain any singleton or // orphan site. // // A singleton: some primary site that names a set with no non-primary sites. // // An orphan: some non-primary site whose primary has no entry in any set. class NET_EXPORT FirstPartySetsValidator { … }; } // namespace net #endif // NET_FIRST_PARTY_SETS_FIRST_PARTY_SETS_VALIDATOR_H_