#include "third_party/blink/renderer/platform/loader/testing/mock_resource.h"
#include "third_party/blink/public/mojom/fetch/fetch_api_request.mojom-blink.h"
#include "third_party/blink/renderer/platform/loader/fetch/fetch_parameters.h"
#include "third_party/blink/renderer/platform/loader/fetch/resource_fetcher.h"
#include "third_party/blink/renderer/platform/loader/fetch/resource_loader_options.h"
#include "third_party/blink/renderer/platform/wtf/std_lib_extras.h"
namespace blink {
namespace {
class MockResourceFactory final : public NonTextResourceFactory { … };
}
MockResource* MockResource::Fetch(FetchParameters& params,
ResourceFetcher* fetcher,
ResourceClient* client) { … }
MockResource::MockResource(const KURL& url)
: … { … }
MockResource::MockResource(const ResourceRequest& request)
: … { … }
MockResource::MockResource(const ResourceRequest& request,
const ResourceLoaderOptions& options)
: … { … }
}