blob: b19f08d3071a6b166a0c5d672ac75937854776ee [file] [log] [blame]
// Copyright 2017 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_FEATURE_ENGAGEMENT_TEST_TEST_TRACKER_H_
#define COMPONENTS_FEATURE_ENGAGEMENT_TEST_TEST_TRACKER_H_
#include <memory>
namespace feature_engagement {
class Tracker;
// Provides a test feature_engagement::Tracker that makes all non-relevant
// conditions true so you can test per-feature specific configurations.
// Note: Your feature config params must have |"availability": "ANY"|
// or the FeatureConfigConditionValidator will return false.
std::unique_ptr<Tracker> CreateTestTracker();
} // namespace feature_engagement
#endif // COMPONENTS_FEATURE_ENGAGEMENT_TEST_TEST_TRACKER_H_