#include "chrome/browser/language/url_language_histogram_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "components/keyed_service/core/keyed_service.h"
#include "components/language/core/browser/url_language_histogram.h"
#include "components/pref_registry/pref_registry_syncable.h"
UrlLanguageHistogramFactory* UrlLanguageHistogramFactory::GetInstance() { … }
language::UrlLanguageHistogram*
UrlLanguageHistogramFactory::GetForBrowserContext(
content::BrowserContext* const browser_context) { … }
UrlLanguageHistogramFactory::UrlLanguageHistogramFactory()
: … { … }
UrlLanguageHistogramFactory::~UrlLanguageHistogramFactory() = default;
std::unique_ptr<KeyedService>
UrlLanguageHistogramFactory::BuildServiceInstanceForBrowserContext(
content::BrowserContext* const browser_context) const { … }
void UrlLanguageHistogramFactory::RegisterProfilePrefs(
user_prefs::PrefRegistrySyncable* const registry) { … }