chromium/chrome/test/chromedriver/log_replay/replay_http_client.cc

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#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 {

// Fetch the path from the given url (i.e. "http://foo.bar/baz" -> "/baz")
std::string UrlPath(const std::string& url) {}

}  // namespace

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) {}