#include "chrome/browser/autocomplete/in_memory_url_index_factory.h"
#include "base/no_destructor.h"
#include "chrome/browser/bookmarks/bookmark_model_factory.h"
#include "chrome/browser/history/history_service_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/search_engines/template_url_service_factory.h"
#include "components/bookmarks/browser/bookmark_model.h"
#include "components/keyed_service/core/service_access_type.h"
#include "components/omnibox/browser/in_memory_url_index.h"
#include "content/public/common/url_constants.h"
InMemoryURLIndex* InMemoryURLIndexFactory::GetForProfile(Profile* profile) { … }
InMemoryURLIndexFactory* InMemoryURLIndexFactory::GetInstance() { … }
InMemoryURLIndexFactory::InMemoryURLIndexFactory()
: … { … }
InMemoryURLIndexFactory::~InMemoryURLIndexFactory() = default;
std::unique_ptr<KeyedService>
InMemoryURLIndexFactory::BuildServiceInstanceForBrowserContext(
content::BrowserContext* context) const { … }
bool InMemoryURLIndexFactory::ServiceIsNULLWhileTesting() const { … }