#include "chrome/browser/unified_consent/unified_consent_service_factory.h"
#include "build/build_config.h"
#include "chrome/browser/prefs/pref_service_syncable_util.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/signin/identity_manager_factory.h"
#include "chrome/browser/sync/sync_service_factory.h"
#include "chrome/common/pref_names.h"
#include "components/commerce/core/pref_names.h"
#include "components/embedder_support/pref_names.h"
#include "components/prefs/pref_registry_simple.h"
#include "components/safe_browsing/core/common/safe_browsing_prefs.h"
#include "components/spellcheck/browser/pref_names.h"
#include "components/sync_preferences/pref_service_syncable.h"
#include "components/unified_consent/unified_consent_metrics.h"
#include "components/unified_consent/unified_consent_service.h"
UnifiedConsentService;
RecordSettingsHistogram;
namespace {
std::vector<std::string> GetSyncedServicePrefNames() { … }
}
UnifiedConsentServiceFactory::UnifiedConsentServiceFactory()
: … { … }
UnifiedConsentServiceFactory::~UnifiedConsentServiceFactory() = default;
UnifiedConsentService* UnifiedConsentServiceFactory::GetForProfile(
Profile* profile) { … }
UnifiedConsentServiceFactory* UnifiedConsentServiceFactory::GetInstance() { … }
void UnifiedConsentServiceFactory::RegisterProfilePrefs(
user_prefs::PrefRegistrySyncable* registry) { … }
std::unique_ptr<KeyedService>
UnifiedConsentServiceFactory::BuildServiceInstanceForBrowserContext(
content::BrowserContext* context) const { … }