variations_features.h 867 B

123456789101112131415161718192021222324
  1. // Copyright 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_VARIATIONS_VARIATIONS_FEATURES_H_
  5. #define COMPONENTS_VARIATIONS_VARIATIONS_FEATURES_H_
  6. #include "base/component_export.h"
  7. #include "base/metrics/field_trial.h"
  8. namespace variations {
  9. namespace internal {
  10. // A feature that supports more finely-grained control over the transmission of
  11. // VariationIDs to Google web properties by allowing some VariationIDs to not be
  12. // transmitted in all contexts. See IsFirstPartyContext() in
  13. // variations_http_headers.cc for more details.
  14. COMPONENT_EXPORT(VARIATIONS_FEATURES)
  15. extern const base::Feature kRestrictGoogleWebVisibility;
  16. } // namespace internal
  17. } // namespace variations
  18. #endif // COMPONENTS_VARIATIONS_VARIATIONS_FEATURES_H_