| // Copyright 2023 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef CONTENT_BROWSER_PRIVATE_AGGREGATION_PRIVATE_AGGREGATION_FEATURES_H_ |
| #define CONTENT_BROWSER_PRIVATE_AGGREGATION_PRIVATE_AGGREGATION_FEATURES_H_ |
| |
| #include "base/feature_list.h" |
| #include "content/common/content_export.h" |
| |
| namespace content { |
| |
| // Controls whether third-party cookie eligibility should be queried before |
| // allowing debug mode to be used by a context. If enabled, any |
| // `enableDebugMode()` calls in a context that does not have third-party cookie |
| // eligibility will essentially have no effect. This feature has no effect on |
| // debug mode if `blink::features::kPrivateAggregationApiDebugModeEnabledAtAll` |
| // is disabled. |
| CONTENT_EXPORT BASE_DECLARE_FEATURE( |
| kPrivateAggregationApiDebugModeRequires3pcEligibility); |
| |
| } // namespace content |
| |
| #endif // CONTENT_BROWSER_PRIVATE_AGGREGATION_PRIVATE_AGGREGATION_FEATURES_H_ |