#include "chrome/browser/favicon/favicon_service_factory.h"
#include <memory>
#include "base/functional/bind.h"
#include "base/logging.h"
#include "base/no_destructor.h"
#include "chrome/browser/favicon/chrome_favicon_client.h"
#include "chrome/browser/history/history_service_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "components/favicon/core/favicon_service_impl.h"
#include "components/history/core/browser/history_service.h"
#include "components/prefs/pref_service.h"
namespace {
std::unique_ptr<KeyedService> BuildFaviconService(
content::BrowserContext* context) { … }
}
favicon::FaviconService* FaviconServiceFactory::GetForProfile(
Profile* profile,
ServiceAccessType sat) { … }
FaviconServiceFactory* FaviconServiceFactory::GetInstance() { … }
BrowserContextKeyedServiceFactory::TestingFactory
FaviconServiceFactory::GetDefaultFactory() { … }
FaviconServiceFactory::FaviconServiceFactory()
: … { … }
FaviconServiceFactory::~FaviconServiceFactory() = default;
std::unique_ptr<KeyedService>
FaviconServiceFactory::BuildServiceInstanceForBrowserContext(
content::BrowserContext* context) const { … }
bool FaviconServiceFactory::ServiceIsNULLWhileTesting() const { … }