#include "content/browser/permissions/embedded_permission_control_checker.h"
#include <optional>
#include "base/run_loop.h"
#include "base/test/scoped_feature_list.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/web_contents.h"
#include "content/public/test/navigation_simulator.h"
#include "content/public/test/render_frame_host_test_support.h"
#include "content/public/test/test_renderer_host.h"
#include "mojo/public/cpp/bindings/receiver.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/features_generated.h"
#include "third_party/blink/public/mojom/permissions/permission.mojom.h"
#include "third_party/blink/public/mojom/permissions/permission_status.mojom.h"
#include "url/gurl.h"
EmbeddedPermissionControlClient;
PermissionDescriptor;
PermissionDescriptorPtr;
PermissionName;
PermissionService;
PermissionStatus;
_;
namespace content {
namespace {
constexpr static int kMaxPEPCPerPage = …;
class MockEmbeddedPermissionControlClient
: public EmbeddedPermissionControlClient { … };
}
class EmbeddedPermissionControlCheckerTest
: public content::RenderViewHostTestHarness { … };
TEST_F(EmbeddedPermissionControlCheckerTest,
RegisterPageEmbeddedPermissionSinglePermission) { … }
TEST_F(EmbeddedPermissionControlCheckerTest,
RegisterPageEmbeddedPermissionMultiplePermissions) { … }
}