#ifndef COMPONENTS_PERMISSIONS_REQUEST_TYPE_H_
#define COMPONENTS_PERMISSIONS_REQUEST_TYPE_H_
#include <optional>
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "components/content_settings/core/common/content_settings_types.h"
#include "printing/buildflags/buildflags.h"
namespace gfx {
struct VectorIcon;
}
namespace permissions {
enum class RequestType { … };
#if BUILDFLAG(IS_ANDROID)
using IconId = int;
#else
IconId;
#endif
bool IsRequestablePermissionType(ContentSettingsType content_settings_type);
std::optional<RequestType> ContentSettingsTypeToRequestTypeIfExists(
ContentSettingsType content_settings_type);
RequestType ContentSettingsTypeToRequestType(
ContentSettingsType content_settings_type);
std::optional<ContentSettingsType> RequestTypeToContentSettingsType(
RequestType request_type);
bool IsConfirmationChipSupported(RequestType for_request_type);
IconId GetIconId(RequestType type);
#if !BUILDFLAG(IS_ANDROID)
IconId GetBlockedIconId(RequestType type);
#endif
const char* PermissionKeyForRequestType(permissions::RequestType request_type);
}
#endif