#include "chrome/test/chromedriver/alert_commands.h"
#include <memory>
#include "base/functional/callback.h"
#include "base/values.h"
#include "chrome/test/chromedriver/chrome/chrome.h"
#include "chrome/test/chromedriver/chrome/devtools_client.h"
#include "chrome/test/chromedriver/chrome/status.h"
#include "chrome/test/chromedriver/chrome/web_view.h"
#include "chrome/test/chromedriver/net/timeout.h"
#include "chrome/test/chromedriver/session.h"
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) { … }