#include "components/feedback/content/feedback_uploader_factory.h"
#include "base/memory/singleton.h"
#include "components/feedback/feedback_uploader.h"
#include "components/keyed_service/content/browser_context_dependency_manager.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/storage_partition.h"
namespace feedback {
namespace {
scoped_refptr<network::SharedURLLoaderFactory>
CreateURLLoaderFactoryForBrowserContext(content::BrowserContext* context) { … }
class FeedbackUploaderImpl final : public FeedbackUploader { … };
}
FeedbackUploaderFactory* FeedbackUploaderFactory::GetInstance() { … }
FeedbackUploader* FeedbackUploaderFactory::GetForBrowserContext(
content::BrowserContext* context) { … }
FeedbackUploaderFactory::FeedbackUploaderFactory(const char* service_name)
: … { … }
FeedbackUploaderFactory::FeedbackUploaderFactory()
: … { … }
FeedbackUploaderFactory::~FeedbackUploaderFactory() { … }
std::unique_ptr<KeyedService>
FeedbackUploaderFactory::BuildServiceInstanceForBrowserContext(
content::BrowserContext* context) const { … }
content::BrowserContext* FeedbackUploaderFactory::GetBrowserContextToUse(
content::BrowserContext* context) const { … }
}