#include "chrome/browser/spellchecker/spellcheck_factory.h"
#include "build/build_config.h"
#include "chrome/browser/spellchecker/spellcheck_service.h"
#include "chrome/grit/locale_settings.h"
#include "components/pref_registry/pref_registry_syncable.h"
#include "components/prefs/pref_service.h"
#include "components/spellcheck/browser/pref_names.h"
#include "components/user_prefs/user_prefs.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/render_process_host.h"
#include "ui/base/l10n/l10n_util.h"
SpellcheckService* SpellcheckServiceFactory::GetForContext(
content::BrowserContext* context) { … }
SpellcheckServiceFactory* SpellcheckServiceFactory::GetInstance() { … }
SpellcheckServiceFactory::SpellcheckServiceFactory()
: … { … }
SpellcheckServiceFactory::~SpellcheckServiceFactory() = default;
std::unique_ptr<KeyedService>
SpellcheckServiceFactory::BuildServiceInstanceForBrowserContext(
content::BrowserContext* context) const { … }
void SpellcheckServiceFactory::RegisterProfilePrefs(
user_prefs::PrefRegistrySyncable* user_prefs) { … }
bool SpellcheckServiceFactory::ServiceIsNULLWhileTesting() const { … }