#include "chrome/browser/search_engine_choice/search_engine_choice_service_factory.h"
#include "base/check_deref.h"
#include "base/check_is_test.h"
#include "base/strings/string_util.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/profiles/profile.h"
#include "components/search_engines/search_engine_choice/search_engine_choice_service.h"
#include "components/variations/service/variations_service.h"
namespace search_engines {
namespace {
std::unique_ptr<KeyedService> BuildSearchEngineChoiceService(
content::BrowserContext* context) { … }
}
SearchEngineChoiceServiceFactory::SearchEngineChoiceServiceFactory()
: … { … }
SearchEngineChoiceServiceFactory::~SearchEngineChoiceServiceFactory() = default;
SearchEngineChoiceService* SearchEngineChoiceServiceFactory::GetForProfile(
Profile* profile) { … }
SearchEngineChoiceServiceFactory*
SearchEngineChoiceServiceFactory::GetInstance() { … }
BrowserContextKeyedServiceFactory::TestingFactory
SearchEngineChoiceServiceFactory::GetDefaultFactory() { … }
std::unique_ptr<KeyedService>
SearchEngineChoiceServiceFactory::BuildServiceInstanceForBrowserContext(
content::BrowserContext* context) const { … }
}