#include "content/public/browser/provision_fetcher_impl.h"
#include "base/functional/bind.h"
#include "content/public/browser/provision_fetcher_factory.h"
#include "mojo/public/cpp/bindings/self_owned_receiver.h"
#include "services/network/public/cpp/shared_url_loader_factory.h"
namespace content {
void ProvisionFetcherImpl::Create(
scoped_refptr<network::SharedURLLoaderFactory> url_loader_factory,
mojo::PendingReceiver<media::mojom::ProvisionFetcher> receiver) { … }
ProvisionFetcherImpl::ProvisionFetcherImpl(
std::unique_ptr<media::ProvisionFetcher> provision_fetcher)
: … { … }
ProvisionFetcherImpl::~ProvisionFetcherImpl() { … }
void ProvisionFetcherImpl::Retrieve(const GURL& default_url,
const std::string& request_data,
RetrieveCallback callback) { … }
void ProvisionFetcherImpl::OnResponse(RetrieveCallback callback,
bool success,
const std::string& response) { … }
}