chromium/components/feedback/content/feedback_uploader_factory.cc

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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 {

// Helper function to create an URLLoaderFactory for the FeedbackUploader from
// the BrowserContext storage partition. As creating the storage partition can
// be expensive, this is delayed so that it does not happen during startup.
scoped_refptr<network::SharedURLLoaderFactory>
CreateURLLoaderFactoryForBrowserContext(content::BrowserContext* context) {}

class FeedbackUploaderImpl final : public FeedbackUploader {};

}  // namespace

// static
FeedbackUploaderFactory* FeedbackUploaderFactory::GetInstance() {}

// static
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 {}

}  // namespace feedback