#include "components/unified_consent/unified_consent_metrics.h"
#include <utility>
#include "base/metrics/histogram_macros.h"
#include "build/build_config.h"
#include "components/prefs/pref_service.h"
#include "components/sync/base/user_selectable_type.h"
#include "components/sync/service/sync_user_settings.h"
#include "components/unified_consent/pref_names.h"
namespace unified_consent {
namespace metrics {
namespace {
enum class SyncDataType { … };
void RecordSyncDataTypeSample(SyncDataType data_type) { … }
bool RecordSyncSetupDataTypesImpl(syncer::SyncUserSettings* sync_settings) { … }
}
void RecordSettingsHistogram(PrefService* pref_service) { … }
void RecordSyncSetupDataTypesHistrogam(
syncer::SyncUserSettings* sync_settings) { … }
}
}