features.h 932 B

12345678910111213141516171819202122232425
  1. // Copyright (c) 2020 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_EMBEDDER_SUPPORT_ORIGIN_TRIALS_FEATURES_H_
  5. #define COMPONENTS_EMBEDDER_SUPPORT_ORIGIN_TRIALS_FEATURES_H_
  6. namespace base {
  7. struct Feature;
  8. }
  9. namespace embedder_support {
  10. // Sample field trial feature for testing alternative usage restriction in
  11. // origin trial third party tokens.
  12. extern const base::Feature kOriginTrialsSampleAPIThirdPartyAlternativeUsage;
  13. // Field trial feature for controlling usage restriction of the
  14. // Conversion Measurement API's origin trial tokens. When disabled, the API
  15. // cannot be enabled by tokens using the user subset usage restriction.
  16. extern const base::Feature kConversionMeasurementAPIAlternativeUsage;
  17. } // namespace embedder_support
  18. #endif // COMPONENTS_EMBEDDER_SUPPORT_ORIGIN_TRIALS_FEATURES_H_