// 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 COMPONENTS_CONTENT_SETTINGS_CORE_COMMON_CONTENT_SETTINGS_RULES_H_ #define COMPONENTS_CONTENT_SETTINGS_CORE_COMMON_CONTENT_SETTINGS_RULES_H_ #include <map> #include "base/values.h" #include "components/content_settings/core/common/content_settings_metadata.h" #include "components/content_settings/core/common/content_settings_pattern.h" namespace content_settings { // Shared definitions for OriginValueMap and HostIndexedContentSettings to store // a set of ContentSetting rules in order of precedence. struct SortedPatternPair { … }; struct ValueEntry { … }; RuleEntry; Rules; } // namespace content_settings #endif // COMPONENTS_CONTENT_SETTINGS_CORE_COMMON_CONTENT_SETTINGS_RULES_H_