#include "chrome/browser/consent_auditor/consent_auditor_factory.h"
#include <memory>
#include <utility>
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/no_destructor.h"
#include "base/time/default_clock.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/sync/data_type_store_service_factory.h"
#include "chrome/common/channel_info.h"
#include "components/consent_auditor/consent_auditor_impl.h"
#include "components/consent_auditor/consent_sync_bridge.h"
#include "components/consent_auditor/consent_sync_bridge_impl.h"
#include "components/sync/base/report_unrecoverable_error.h"
#include "components/sync/model/client_tag_based_data_type_processor.h"
#include "components/sync/model/data_type_store_service.h"
ConsentAuditorFactory* ConsentAuditorFactory::GetInstance() { … }
consent_auditor::ConsentAuditor* ConsentAuditorFactory::GetForProfile(
Profile* profile) { … }
ConsentAuditorFactory::ConsentAuditorFactory()
: … { … }
ConsentAuditorFactory::~ConsentAuditorFactory() = default;
std::unique_ptr<KeyedService>
ConsentAuditorFactory::BuildServiceInstanceForBrowserContext(
content::BrowserContext* context) const { … }