#include "content/public/browser/permission_request_description.h"
namespace content {
PermissionRequestDescription::PermissionRequestDescription(
const std::vector<blink::PermissionType>& permissions,
bool user_gesture,
const GURL& requesting_origin,
bool embedded_permission_element_initiated,
const std::optional<gfx::Rect>& anchor_element_position)
: … { … }
PermissionRequestDescription::PermissionRequestDescription(
blink::PermissionType permission,
bool user_gesture,
const GURL& requesting_origin,
bool embedded_permission_element_initiated,
const std::optional<gfx::Rect>& anchor_element_position)
: … { … }
PermissionRequestDescription::PermissionRequestDescription(
const PermissionRequestDescription&) = default;
PermissionRequestDescription& PermissionRequestDescription::operator=(
PermissionRequestDescription&&) = default;
PermissionRequestDescription::PermissionRequestDescription(
PermissionRequestDescription&&) = default;
PermissionRequestDescription::~PermissionRequestDescription() = default;
bool PermissionRequestDescription::operator==(
const PermissionRequestDescription& other) const { … }
}