#include "chrome/browser/history/web_history_service_factory.h"
#include "chrome/browser/signin/identity_manager_factory.h"
#include "chrome/browser/sync/sync_service_factory.h"
#include "components/history/core/browser/web_history_service.h"
#include "components/sync/service/sync_service.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/storage_partition.h"
namespace {
bool IsHistorySyncEnabled(Profile* profile) { … }
}
WebHistoryServiceFactory* WebHistoryServiceFactory::GetInstance() { … }
history::WebHistoryService* WebHistoryServiceFactory::GetForProfile(
Profile* profile) { … }
std::unique_ptr<KeyedService>
WebHistoryServiceFactory::BuildServiceInstanceForBrowserContext(
content::BrowserContext* context) const { … }
WebHistoryServiceFactory::WebHistoryServiceFactory()
: … { … }
WebHistoryServiceFactory::~WebHistoryServiceFactory() = default;