#ifndef CHROME_TEST_CHROMEDRIVER_ALERT_COMMANDS_H_
#define CHROME_TEST_CHROMEDRIVER_ALERT_COMMANDS_H_
#include <memory>
#include "base/functional/callback_forward.h"
#include "base/values.h"
struct Session;
class Status;
class WebView;
AlertCommand;
Status ExecuteAlertCommand(const AlertCommand& alert_command,
Session* session,
const base::Value::Dict& params,
std::unique_ptr<base::Value>* value);
Status ExecuteGetAlert(Session* session,
WebView* web_view,
const base::Value::Dict& params,
std::unique_ptr<base::Value>* value);
Status ExecuteGetAlertText(Session* session,
WebView* web_view,
const base::Value::Dict& params,
std::unique_ptr<base::Value>* value);
Status ExecuteSetAlertText(Session* session,
WebView* web_view,
const base::Value::Dict& params,
std::unique_ptr<base::Value>* value);
Status ExecuteAcceptAlert(Session* session,
WebView* web_view,
const base::Value::Dict& params,
std::unique_ptr<base::Value>* value);
Status ExecuteDismissAlert(Session* session,
WebView* web_view,
const base::Value::Dict& params,
std::unique_ptr<base::Value>* value);
#endif