#ifndef CHROME_BROWSER_UI_FILE_SYSTEM_ACCESS_FILE_SYSTEM_ACCESS_DANGEROUS_FILE_DIALOG_H_
#define CHROME_BROWSER_UI_FILE_SYSTEM_ACCESS_FILE_SYSTEM_ACCESS_DANGEROUS_FILE_DIALOG_H_
#include "content/public/browser/file_system_access_permission_context.h"
namespace base {
class FilePath;
}
namespace content {
class WebContents;
}
namespace ui {
class DialogModel;
}
namespace url {
class Origin;
}
void ShowFileSystemAccessDangerousFileDialog(
const url::Origin& origin,
const base::FilePath& path,
base::OnceCallback<
void(content::FileSystemAccessPermissionContext::SensitiveEntryResult)>
callback,
content::WebContents* web_contents);
std::unique_ptr<ui::DialogModel>
CreateFileSystemAccessDangerousFileDialogForTesting(
const url::Origin& origin,
const base::FilePath& path,
base::OnceCallback<
void(content::FileSystemAccessPermissionContext::SensitiveEntryResult)>
callback);
#endif