chromium/components/unified_consent/unified_consent_metrics.cc

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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 {

// Sync data types that can be customized in settings.
// Used in histograms. Do not change existing values, append new values at the
// end.
enum class SyncDataType {};

void RecordSyncDataTypeSample(SyncDataType data_type) {}

// Checks states of sync data types and records corresponding histogram.
// Returns true if a sample was recorded.
bool RecordSyncSetupDataTypesImpl(syncer::SyncUserSettings* sync_settings) {}

}  // namespace

void RecordSettingsHistogram(PrefService* pref_service) {}

void RecordSyncSetupDataTypesHistrogam(
    syncer::SyncUserSettings* sync_settings) {}

}  // namespace metrics
}  // namespace unified_consent