#ifndef CHROME_TEST_CHROMEDRIVER_NET_NET_UTIL_H_
#define CHROME_TEST_CHROMEDRIVER_NET_NET_UTIL_H_
#include <string>
#include "base/memory/scoped_refptr.h"
class GURL;
namespace base {
class SequencedTaskRunner;
}
namespace network::mojom {
class URLLoaderFactory;
}
class NetAddress { … };
void SetIOCapableTaskRunnerForTest(
scoped_refptr<base::SequencedTaskRunner> task_runner);
bool FetchUrl(const std::string& url,
network::mojom::URLLoaderFactory* factory,
std::string* response);
bool FetchUrl(const GURL& url,
network::mojom::URLLoaderFactory* factory,
std::string* response);
#endif