#include "extensions/renderer/extension_url_loader_throttle.h"
#include "extensions/renderer/extension_throttle_manager.h"
#include "net/base/net_errors.h"
#include "services/network/public/cpp/resource_request.h"
namespace extensions {
namespace {
const char kCancelReason[] = …;
}
ExtensionURLLoaderThrottle::ExtensionURLLoaderThrottle(
ExtensionThrottleManager* manager)
: … { … }
ExtensionURLLoaderThrottle::~ExtensionURLLoaderThrottle() = default;
void ExtensionURLLoaderThrottle::WillStartRequest(
network::ResourceRequest* request,
bool* defer) { … }
void ExtensionURLLoaderThrottle::WillRedirectRequest(
net::RedirectInfo* redirect_info,
const network::mojom::URLResponseHead& ,
bool* ,
std::vector<std::string>* ,
net::HttpRequestHeaders* ,
net::HttpRequestHeaders* ) { … }
void ExtensionURLLoaderThrottle::WillProcessResponse(
const GURL& response_url,
network::mojom::URLResponseHead* response_head,
bool* defer) { … }
void ExtensionURLLoaderThrottle::DetachFromCurrentSequence() { … }
}