heavy_ad_features.h 975 B

123456789101112131415161718192021222324252627282930
  1. // Copyright 2019 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef COMPONENTS_HEAVY_AD_INTERVENTION_HEAVY_AD_FEATURES_H_
  5. #define COMPONENTS_HEAVY_AD_INTERVENTION_HEAVY_AD_FEATURES_H_
  6. #include "base/feature_list.h"
  7. namespace heavy_ad_intervention {
  8. namespace features {
  9. // Param that enabled heavy ad intervention with reporting only, does not
  10. // unloaded the ads.
  11. extern const char kHeavyAdReportingOnlyParamName[];
  12. // Param that enabled sending intervention reports for frames unloaded by heavy
  13. // ad intervention.
  14. extern const char kHeavyAdReportingEnabledParamName[];
  15. extern const base::Feature kHeavyAdIntervention;
  16. extern const base::Feature kHeavyAdInterventionWarning;
  17. extern const base::Feature kHeavyAdPrivacyMitigations;
  18. } // namespace features
  19. } // namespace heavy_ad_intervention
  20. #endif // COMPONENTS_HEAVY_AD_INTERVENTION_HEAVY_AD_FEATURES_H_