#include "third_party/blink/renderer/platform/loader/testing/fake_url_loader_factory_for_background_thread.h"
namespace blink {
class FakeURLLoaderFactoryForBackgroundThread::PendingFactory
: public network::PendingSharedURLLoaderFactory { … };
FakeURLLoaderFactoryForBackgroundThread::
FakeURLLoaderFactoryForBackgroundThread(
LoadStartCallback load_start_callback)
: … { … }
FakeURLLoaderFactoryForBackgroundThread::
~FakeURLLoaderFactoryForBackgroundThread() = default;
void FakeURLLoaderFactoryForBackgroundThread::CreateLoaderAndStart(
mojo::PendingReceiver<network::mojom::URLLoader> loader,
int32_t request_id,
uint32_t options,
const network::ResourceRequest& request,
mojo::PendingRemote<network::mojom::URLLoaderClient> client,
const net::MutableNetworkTrafficAnnotationTag& traffic_annotation) { … }
void FakeURLLoaderFactoryForBackgroundThread::Clone(
mojo::PendingReceiver<network::mojom::URLLoaderFactory> receiver) { … }
std::unique_ptr<network::PendingSharedURLLoaderFactory>
FakeURLLoaderFactoryForBackgroundThread::Clone() { … }
}