#include "chrome/browser/ui/file_system_access/file_system_access_dangerous_file_dialog.h"
#include <optional>
#include "base/test/bind.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"
DangerousFileResult;
FileSystemAccessDangerousFileDialogTest;
namespace {
class TestFileSystemAccessDangerousFileDialog { … };
TEST_F(FileSystemAccessDangerousFileDialogTest, Accept) { … }
TEST_F(FileSystemAccessDangerousFileDialogTest, Cancel) { … }
TEST_F(FileSystemAccessDangerousFileDialogTest, Close) { … }
TEST_F(FileSystemAccessDangerousFileDialogTest, DestroyWithoutAction) { … }
TEST_F(FileSystemAccessDangerousFileDialogTest, CancelButtonInitiallyFocused) { … }
}