#include "chrome/browser/download/download_offline_content_provider_factory.h"
#include <string>
#include "base/no_destructor.h"
#include "build/build_config.h"
#include "chrome/browser/download/download_offline_content_provider.h"
#include "chrome/browser/download/offline_item_utils.h"
#include "chrome/browser/offline_items_collection/offline_content_aggregator_factory.h"
#include "chrome/browser/profiles/profile_key.h"
#include "chrome/browser/transition_manager/full_browser_transition_manager.h"
#include "components/keyed_service/core/simple_dependency_manager.h"
#include "components/offline_items_collection/core/offline_content_aggregator.h"
namespace {
void OnProfileCreated(DownloadOfflineContentProvider* provider,
Profile* profile) { … }
}
DownloadOfflineContentProviderFactory*
DownloadOfflineContentProviderFactory::GetInstance() { … }
DownloadOfflineContentProvider*
DownloadOfflineContentProviderFactory::GetForKey(SimpleFactoryKey* key) { … }
DownloadOfflineContentProviderFactory::DownloadOfflineContentProviderFactory()
: … { … }
DownloadOfflineContentProviderFactory::
~DownloadOfflineContentProviderFactory() = default;
std::unique_ptr<KeyedService>
DownloadOfflineContentProviderFactory::BuildServiceInstanceFor(
SimpleFactoryKey* key) const { … }
SimpleFactoryKey* DownloadOfflineContentProviderFactory::GetKeyToUse(
SimpleFactoryKey* key) const { … }