#include "media/mojo/services/mojo_provision_fetcher.h"
#include "base/functional/bind.h"
namespace media {
MojoProvisionFetcher::MojoProvisionFetcher(
mojo::PendingRemote<mojom::ProvisionFetcher> provision_fetcher)
: … { … }
MojoProvisionFetcher::~MojoProvisionFetcher() = default;
void MojoProvisionFetcher::Retrieve(const GURL& default_url,
const std::string& request_data,
ResponseCB response_cb) { … }
void MojoProvisionFetcher::OnResponse(ResponseCB response_cb,
bool success,
const std::string& response) { … }
}