summaryrefslogtreecommitdiffstats
path: root/chromium/components/variations/variations_features.h
blob: 51de6df6b8611634077a5e45a083d2d41f8c1b3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef COMPONENTS_VARIATIONS_VARIATIONS_FEATURES_H_
#define COMPONENTS_VARIATIONS_VARIATIONS_FEATURES_H_

#include "base/component_export.h"
#include "base/metrics/field_trial.h"

namespace variations {
namespace internal {

// A feature that supports more finely-grained control over the transmission of
// VariationIDs to Google web properties by allowing some VariationIDs to not be
// transmitted in all contexts. See IsFirstPartyContext() in
// variations_http_headers.cc for more details.
COMPONENT_EXPORT(VARIATIONS_FEATURES)
extern const base::Feature kRestrictGoogleWebVisibility;

}  // namespace internal
}  // namespace variations

#endif  // COMPONENTS_VARIATIONS_VARIATIONS_FEATURES_H_