features.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. // Copyright 2021 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_SEGMENTATION_PLATFORM_PUBLIC_FEATURES_H_
  5. #define COMPONENTS_SEGMENTATION_PLATFORM_PUBLIC_FEATURES_H_
  6. #include "base/feature_list.h"
  7. #include "base/strings/string_piece.h"
  8. namespace segmentation_platform::features {
  9. // Core feature flag for segmentation platform.
  10. extern const base::Feature kSegmentationPlatformFeature;
  11. // Feature flag for segmentation platform dummy model that is used for
  12. // experimental models and data collection.
  13. extern const base::Feature kSegmentationPlatformDummyFeature;
  14. // Feature flag for allowing structured metrics to be collected.
  15. extern const base::Feature kSegmentationStructuredMetricsFeature;
  16. // Feature flag for enabling UKM based engine.
  17. extern const base::Feature kSegmentationPlatformUkmEngine;
  18. // Feature flag for enabling low engagement segmentation key.
  19. extern const base::Feature kSegmentationPlatformLowEngagementFeature;
  20. // Feature flag for enabling Feed user segments feature.
  21. extern const base::Feature kSegmentationPlatformFeedSegmentFeature;
  22. // Feature flag for enabling contextual page actions. Only effective when at
  23. // least one action is enabled.
  24. extern const base::Feature kContextualPageActions;
  25. // Feature flag for enabling price tracking action feature.
  26. extern const base::Feature kContextualPageActionPriceTracking;
  27. } // namespace segmentation_platform::features
  28. #endif // COMPONENTS_SEGMENTATION_PLATFORM_PUBLIC_FEATURES_H_