#ifndef CHROME_BROWSER_HEADLESS_TEST_HEADLESS_BROWSER_TEST_UTILS_H_
#define CHROME_BROWSER_HEADLESS_TEST_HEADLESS_BROWSER_TEST_UTILS_H_
#include <string>
#include <string_view>
#include "base/values.h"
namespace simple_devtools_protocol_client {
class SimpleDevToolsProtocolClient;
}
namespace headless {
base::Value::Dict SendCommandSync(
simple_devtools_protocol_client::SimpleDevToolsProtocolClient&
devtools_client,
const std::string& command);
base::Value::Dict SendCommandSync(
simple_devtools_protocol_client::SimpleDevToolsProtocolClient&
devtools_client,
const std::string& command,
base::Value::Dict params);
template <typename T>
base::Value::Dict Param(std::string_view key, T&& value) { … }
}
#endif