features.cc 928 B

123456789101112131415161718192021222324
  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. #include "components/embedder_support/origin_trials/features.h"
  5. #include "base/feature_list.h"
  6. namespace embedder_support {
  7. // The feature is enabled by default, ensuring user from no-op groups have
  8. // access to the underlying origin trial.
  9. // Users from experiment group will behave the same as default.
  10. // Users from control group will have the feature disabled, excluding them
  11. // from the origin trial.
  12. const base::Feature kOriginTrialsSampleAPIThirdPartyAlternativeUsage{
  13. "OriginTrialsSampleAPIThirdPartyAlternativeUsage",
  14. base::FEATURE_ENABLED_BY_DEFAULT};
  15. const base::Feature kConversionMeasurementAPIAlternativeUsage{
  16. "ConversionMeasurementAPIAlternativeUsage",
  17. base::FEATURE_ENABLED_BY_DEFAULT};
  18. } // namespace embedder_support