on_device_clustering_features.cc 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  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. #include "components/history_clusters/core/on_device_clustering_features.h"
  5. #include <algorithm>
  6. #include "base/command_line.h"
  7. #include "base/metrics/field_trial_params.h"
  8. #include "base/strings/string_number_conversions.h"
  9. #include "base/strings/string_split.h"
  10. #include "build/build_config.h"
  11. namespace history_clusters {
  12. namespace features {
  13. const base::Feature kOnDeviceClustering{"HistoryClustersOnDeviceClustering",
  14. base::FEATURE_ENABLED_BY_DEFAULT};
  15. const base::Feature kUseEngagementScoreCache{"JourneysUseEngagementScoreCache",
  16. base::FEATURE_ENABLED_BY_DEFAULT};
  17. const base::Feature kSplitClusteringTasksToSmallerBatches{
  18. "JourneysSplitClusteringTasksToSmallerBatches",
  19. base::FEATURE_DISABLED_BY_DEFAULT};
  20. const base::Feature kOnDeviceClusteringBlocklists{
  21. "JourneysOnDeviceClusteringBlocklist", base::FEATURE_ENABLED_BY_DEFAULT};
  22. const base::Feature kOnDeviceClusteringKeywordFiltering{
  23. "JourneysKeywordFiltering", base::FEATURE_DISABLED_BY_DEFAULT};
  24. } // namespace features
  25. } // namespace history_clusters