#include "base/check_op.h"
#include "base/containers/contains.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/scoped_refptr.h"
#include "base/test/scoped_feature_list.h"
#include "components/blocked_content/safe_browsing_triggered_popup_blocker.h"
#include "components/safe_browsing/core/browser/db/util.h"
#include "components/subresource_filter/content/browser/fake_safe_browsing_database_manager.h"
#include "components/subresource_filter/content/browser/subresource_filter_content_settings_manager.h"
#include "components/subresource_filter/content/browser/subresource_filter_test_harness.h"
#include "components/subresource_filter/core/browser/subresource_filter_constants.h"
#include "components/subresource_filter/core/browser/subresource_filter_features.h"
#include "components/subresource_filter/core/browser/subresource_filter_features_test_support.h"
#include "content/public/test/test_renderer_host.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace blocked_content {
SubresourceFilterLevel;
namespace {
enum MetadataLevel { … };
safe_browsing::SubresourceFilterMatch GetMatch(MetadataLevel abusive_level,
MetadataLevel bas_level) { … }
}
MetadataInfo;
class SubresourceFilterAbusiveTest
: public subresource_filter::SubresourceFilterTestHarness,
public ::testing::WithParamInterface<MetadataInfo> { … };
TEST_P(SubresourceFilterAbusiveTest, ConfigCombination) { … }
INSTANTIATE_TEST_SUITE_P(…);
}