#include "chrome/browser/ui/file_system_access/file_system_access_permission_dialog.h"
#include <optional>
#include "base/files/file_path.h"
#include "base/test/bind.h"
#include "components/permissions/permission_util.h"
#include "content/public/browser/file_system_access_permission_context.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/models/dialog_model.h"
#include "ui/base/test/test_dialog_model_host.h"
#include "url/origin.h"
AccessType;
HandleType;
RequestData;
RequestType;
FileSystemAccessPermissionDialogTest;
class TestFileSystemAccessPermissionDialog { … };
TEST_F(FileSystemAccessPermissionDialogTest, Accept) { … }
TEST_F(FileSystemAccessPermissionDialogTest, Cancel) { … }
TEST_F(FileSystemAccessPermissionDialogTest, Close) { … }
TEST_F(FileSystemAccessPermissionDialogTest, DestroyWithoutAction) { … }
TEST_F(FileSystemAccessPermissionDialogTest, CancelButtonInitiallyFocused) { … }