#include "content/public/browser/permission_overrides.h"
#include "base/no_destructor.h"
#include "third_party/blink/public/common/permissions/permission_utils.h"
namespace content {
PermissionOverridesMap;
PermissionStatus;
PermissionOverrides::PermissionOverrides() = default;
PermissionOverrides::~PermissionOverrides() = default;
PermissionOverrides::PermissionOverrides(PermissionOverrides&& other) = default;
PermissionOverrides& PermissionOverrides::operator=(
PermissionOverrides&& other) = default;
void PermissionOverrides::Set(const std::optional<url::Origin>& origin,
blink::PermissionType permission,
const blink::mojom::PermissionStatus& status) { … }
std::optional<PermissionStatus> PermissionOverrides::Get(
const url::Origin& origin,
blink::PermissionType permission) const { … }
const PermissionOverridesMap& PermissionOverrides::GetAllForTest(
const std::optional<url::Origin>& origin) const { … }
void PermissionOverrides::Reset(const std::optional<url::Origin>& origin) { … }
void PermissionOverrides::GrantPermissions(
const std::optional<url::Origin>& origin,
const std::vector<blink::PermissionType>& permissions) { … }
}