#ifndef EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_RESOURCE_TYPE_H_
#define EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_RESOURCE_TYPE_H_
#include <stdint.h>
#include <string_view>
#include "services/network/public/cpp/resource_request.h"
#include "third_party/blink/public/mojom/loader/resource_load_info.mojom-shared.h"
namespace extensions {
enum class WebRequestResourceType : uint8_t { … };
WebRequestResourceType ToWebRequestResourceType(
const network::ResourceRequest& request,
bool is_download);
const char* WebRequestResourceTypeToString(WebRequestResourceType type);
bool ParseWebRequestResourceType(std::string_view text,
WebRequestResourceType* type);
}
#endif