blob: 7bd63169d333dcd0974af4f9dad1d9b9593f8546 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_SUBRESOURCE_FILTER_CORE_COMMON_COMMON_FEATURES_H_
#define COMPONENTS_SUBRESOURCE_FILTER_CORE_COMMON_COMMON_FEATURES_H_
#include "base/feature_list.h"
namespace subresource_filter {
// Enables the tagging of ad frames and resource requests by using the
// subresource_filter component in dry-run mode.
extern const base::Feature kAdTagging;
// Enables the artificial delaying of ads that are considered unsafe (e.g. http
// or same-domain to the top-level).
extern const base::Feature kDelayUnsafeAds;
// Param which governs how much to delay non-secure (i.e. http) subresources for
// DelayUnsafeAds.
extern const char kInsecureDelayParam[];
// Param which governs how much to delay non-isolated (i.e. in a same-origin
// iframe) subresources for DelayUnsafeAds.
extern const char kNonIsolatedDelayParam[];
} // namespace subresource_filter
#endif // COMPONENTS_SUBRESOURCE_FILTER_CORE_COMMON_COMMON_FEATURES_H_