#include "components/metrics/persistent_synthetic_trial_observer.h"
#include "base/task/sequenced_task_runner.h"
#include "components/metrics/persistent_system_profile.h"
#include "components/variations/synthetic_trials.h"
namespace metrics {
namespace {
void PersistSyntheticFieldTrials(
const std::vector<variations::SyntheticTrialGroup>& trials_updated,
const std::vector<variations::SyntheticTrialGroup>& trials_removed) { … }
}
PersistentSyntheticTrialObserver::PersistentSyntheticTrialObserver()
: … { … }
PersistentSyntheticTrialObserver::~PersistentSyntheticTrialObserver() = default;
void PersistentSyntheticTrialObserver::OnSyntheticTrialsChanged(
const std::vector<variations::SyntheticTrialGroup>& trials_updated,
const std::vector<variations::SyntheticTrialGroup>& trials_removed,
const std::vector<variations::SyntheticTrialGroup>& groups) { … }
}