#include "chrome/test/chromedriver/log_replay/replay_http_client.h"
#include <utility>
#include "services/network/public/mojom/url_loader_factory.mojom.h"
#include "url/gurl.h"
namespace {
std::string UrlPath(const std::string& url) { … }
}
ReplayHttpClient::ReplayHttpClient(const DevToolsEndpoint& endpoint,
network::mojom::URLLoaderFactory* factory,
const base::FilePath& log_path)
: … { … }
ReplayHttpClient::~ReplayHttpClient() = default;
bool ReplayHttpClient::FetchUrlAndLog(const std::string& url,
std::string* response) { … }