#include "chrome/browser/preloading/prefetch/search_prefetch/search_prefetch_service_factory.h"
#include "base/no_destructor.h"
#include "chrome/browser/preloading/prefetch/search_prefetch/search_prefetch_service.h"
#include "chrome/browser/profiles/profile.h"
#include "content/public/browser/browser_context.h"
SearchPrefetchService* SearchPrefetchServiceFactory::GetForProfile(
Profile* profile) { … }
SearchPrefetchService* SearchPrefetchServiceFactory::GetForProfileIfExists(
Profile* profile) { … }
SearchPrefetchServiceFactory* SearchPrefetchServiceFactory::GetInstance() { … }
SearchPrefetchServiceFactory::SearchPrefetchServiceFactory()
: … { … }
SearchPrefetchServiceFactory::~SearchPrefetchServiceFactory() = default;
std::unique_ptr<KeyedService>
SearchPrefetchServiceFactory::BuildServiceInstanceForBrowserContext(
content::BrowserContext* context) const { … }