#include "chrome/browser/history/history_service_factory.h"
#include "chrome/browser/bookmarks/bookmark_model_factory.h"
#include "chrome/browser/history/chrome_history_client.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/channel_info.h"
#include "components/bookmarks/browser/bookmark_model.h"
#include "components/history/content/browser/content_visit_delegate.h"
#include "components/history/content/browser/history_database_helper.h"
#include "components/history/core/browser/history_database_params.h"
#include "components/history/core/browser/history_service.h"
#include "components/history/core/common/pref_names.h"
#include "components/keyed_service/core/service_access_type.h"
#include "components/prefs/pref_service.h"
namespace {
std::unique_ptr<KeyedService> BuildHistoryService(
content::BrowserContext* context) { … }
}
history::HistoryService* HistoryServiceFactory::GetForProfile(
Profile* profile,
ServiceAccessType sat) { … }
history::HistoryService* HistoryServiceFactory::GetForProfileIfExists(
Profile* profile,
ServiceAccessType sat) { … }
history::HistoryService* HistoryServiceFactory::GetForProfileWithoutCreating(
Profile* profile) { … }
HistoryServiceFactory* HistoryServiceFactory::GetInstance() { … }
void HistoryServiceFactory::ShutdownForProfile(Profile* profile) { … }
BrowserContextKeyedServiceFactory::TestingFactory
HistoryServiceFactory::GetDefaultFactory() { … }
HistoryServiceFactory::HistoryServiceFactory()
: … { … }
HistoryServiceFactory::~HistoryServiceFactory() = default;
std::unique_ptr<KeyedService>
HistoryServiceFactory::BuildServiceInstanceForBrowserContext(
content::BrowserContext* context) const { … }
bool HistoryServiceFactory::ServiceIsNULLWhileTesting() const { … }