#ifndef COMPONENTS_UKM_OBSERVERS_UKM_CONSENT_STATE_OBSERVER_H_
#define COMPONENTS_UKM_OBSERVERS_UKM_CONSENT_STATE_OBSERVER_H_
#include <stdint.h>
#include <map>
#include <optional>
#include "base/feature_list.h"
#include "base/scoped_multi_source_observation.h"
#include "components/sync/service/sync_service.h"
#include "components/sync/service/sync_service_observer.h"
#include "components/ukm/ukm_consent_state.h"
#include "components/unified_consent/url_keyed_data_collection_consent_helper.h"
#include "services/metrics/public/cpp/metrics_export.h"
class PrefService;
namespace ukm {
struct NoInitialUkmConsentStateTag { … };
constexpr NoInitialUkmConsentStateTag NoInitialUkmConsentState;
class UkmConsentStateObserver
: public syncer::SyncServiceObserver,
public unified_consent::UrlKeyedDataCollectionConsentHelper::Observer { … };
}
#endif