#include <stddef.h>
#include <memory>
#include <string>
#include "base/command_line.h"
#include "base/functional/bind.h"
#include "base/test/scoped_feature_list.h"
#include "build/build_config.h"
#include "components/permissions/features.h"
#include "components/permissions/permission_request.h"
#include "components/permissions/permission_request_queue.h"
#include "components/permissions/permission_util.h"
#include "components/permissions/request_type.h"
#include "components/permissions/test/mock_permission_prompt_factory.h"
#include "components/permissions/test/mock_permission_request.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace permissions {
class PermissionRequestQueueTest : public ::testing::Test { … };
TEST_F(PermissionRequestQueueTest, CountNumberOfRequestsInQueue) { … }
TEST_F(PermissionRequestQueueTest, CountDuplicateRequests) { … }
TEST_F(PermissionRequestQueueTest, CountNumberOfRequestOccurencesInQueue) { … }
TEST_F(PermissionRequestQueueTest, OnlyEmptyWithoutRequests) { … }
TEST_F(PermissionRequestQueueTest, ShouldFindDuplicateRequest) { … }
TEST_F(PermissionRequestQueueTest, ShouldNotFindDuplicateIfNotPresent) { … }
TEST_F(PermissionRequestQueueTest, PeekedElementIsNextPoppedElement) { … }
TEST_F(PermissionRequestQueueTest, VerifyPushOrder) { … }
TEST_F(PermissionRequestQueueTest, VerifyPushOrderLowPriority) { … }
TEST_F(PermissionRequestQueueTest, VerifyPushFrontOrder) { … }
TEST_F(PermissionRequestQueueTest, VerifyPushBackOrder) { … }
TEST_F(PermissionRequestQueueTest, PEPCPushesOtherRequests) { … }
TEST_F(PermissionRequestQueueTest, PEPCNotPushedByOtherRequests) { … }
TEST_F(PermissionRequestQueueTest, PEPCDoesNotPushOtherPEPCRequests) { … }
}