#include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/signin/identity_manager_factory.h"
#include "chrome/browser/themes/theme_service_factory.h"
#include "chrome/browser/ui/webui/ntp/ntp_resource_cache.h"
NTPResourceCache* NTPResourceCacheFactory::GetForProfile(Profile* profile) { … }
NTPResourceCacheFactory* NTPResourceCacheFactory::GetInstance() { … }
NTPResourceCacheFactory::NTPResourceCacheFactory()
: … { … }
NTPResourceCacheFactory::~NTPResourceCacheFactory() = default;
std::unique_ptr<KeyedService>
NTPResourceCacheFactory::BuildServiceInstanceForBrowserContext(
content::BrowserContext* profile) const { … }