blob: 79eacea3c3bf452b4670c4eb6a954b29454d494c [file] [log] [blame]
Nan Lin33421d82023-05-18 16:19:371// Copyright 2023 The Chromium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef COMPONENTS_AGGREGATION_SERVICE_FEATURES_H_
6#define COMPONENTS_AGGREGATION_SERVICE_FEATURES_H_
7
Nan Linda6af78c2023-06-08 00:48:338#include <string>
9
Nan Lin33421d82023-05-18 16:19:3710#include "base/component_export.h"
11#include "base/feature_list.h"
Nan Linda6af78c2023-06-08 00:48:3312#include "base/metrics/field_trial_params.h"
Nan Lin33421d82023-05-18 16:19:3713
14namespace aggregation_service {
15
Nan Lin2f7f87d2024-05-22 20:10:0716// This feature is no longer checked, and only the feature param is used.
Nan Lin33421d82023-05-18 16:19:3717COMPONENT_EXPORT(AGGREGATION_SERVICE)
18BASE_DECLARE_FEATURE(kAggregationServiceMultipleCloudProviders);
19
Nan Lin5ab048862024-04-22 18:06:5020// Comma-separated origins. The first origin will be used as default. When
21// empty, the default coordinator origins will be used.
22//
23// TODO(linnan): Consider replacing this with a command-line switch since it
24// isn't needed in production.
Nan Linda6af78c2023-06-08 00:48:3325COMPONENT_EXPORT(AGGREGATION_SERVICE)
26extern const base::FeatureParam<std::string>
Nan Lin5ab048862024-04-22 18:06:5027 kAggregationServiceCoordinatorAllowlist;
Nan Lin8eecf3a2023-06-13 19:26:1828
Nan Lin33421d82023-05-18 16:19:3729} // namespace aggregation_service
30
31#endif // COMPONENTS_AGGREGATION_SERVICE_FEATURES_H_