blob: 717ffad199ecfb305b4f1ca8cede5d6230fb998f [file] [log] [blame]
// Copyright 2019 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.
#include "base/optional.h"
namespace base {
struct Feature;
} // namespace base
namespace feature_engagement {
struct FeatureConfig;
// Returns client-side specified FeatureConfig if it exists, else an empty
// optional. For this FeatureConfig to be usable, the feature also needs to
// be enabled by default.
base::Optional<FeatureConfig> GetClientSideFeatureConfig(
const base::Feature* feature);
} // namespace feature_engagement