#include "components/permissions/permission_request_queue.h"
#include "base/ranges/algorithm.h"
#include "components/permissions/permission_request.h"
#include "components/permissions/permission_util.h"
namespace permissions {
PermissionRequestQueue::PermissionRequestQueue()
: … { … }
PermissionRequestQueue::~PermissionRequestQueue() = default;
bool PermissionRequestQueue::IsEmpty() const { … }
size_t PermissionRequestQueue::Count(PermissionRequest* request) const { … }
void PermissionRequestQueue::Push(PermissionRequest* request) { … }
void PermissionRequestQueue::PushFront(
permissions::PermissionRequest* request) { … }
void PermissionRequestQueue::PushBack(permissions::PermissionRequest* request) { … }
PermissionRequest* PermissionRequestQueue::Pop() { … }
PermissionRequest* PermissionRequestQueue::Peek() const { … }
PermissionRequest* PermissionRequestQueue::FindDuplicate(
PermissionRequest* request) const { … }
PermissionRequestQueue::const_iterator PermissionRequestQueue::begin() const { … }
PermissionRequestQueue::const_iterator PermissionRequestQueue::end() const { … }
PermissionRequestQueue::Priority
PermissionRequestQueue::DetermineRequestPriority(
permissions::PermissionRequest* request) { … }
void PermissionRequestQueue::PushFrontInternal(
permissions::PermissionRequest* request,
Priority priority) { … }
void PermissionRequestQueue::PushBackInternal(
permissions::PermissionRequest* request,
Priority priority) { … }
}