#include "net/http/http_stream_factory_test_util.h"
#include <utility>
#include "net/proxy_resolution/proxy_info.h"
#include "url/scheme_host_port.h"
_;
namespace net {
MockHttpStreamRequestDelegate::MockHttpStreamRequestDelegate() = default;
MockHttpStreamRequestDelegate::~MockHttpStreamRequestDelegate() = default;
MockHttpStreamFactoryJob::MockHttpStreamFactoryJob(
HttpStreamFactory::Job::Delegate* delegate,
HttpStreamFactory::JobType job_type,
HttpNetworkSession* session,
const HttpStreamFactory::StreamRequestInfo& request_info,
RequestPriority priority,
ProxyInfo proxy_info,
const std::vector<SSLConfig::CertAndStatus>& allowed_bad_certs,
url::SchemeHostPort destination,
GURL origin_url,
NextProto alternative_protocol,
quic::ParsedQuicVersion quic_version,
bool is_websocket,
bool enable_ip_based_pooling,
NetLog* net_log)
: … { … }
MockHttpStreamFactoryJob::~MockHttpStreamFactoryJob() = default;
void MockHttpStreamFactoryJob::DoResume() { … }
TestJobFactory::TestJobFactory() = default;
TestJobFactory::~TestJobFactory() = default;
std::unique_ptr<HttpStreamFactory::Job> TestJobFactory::CreateJob(
HttpStreamFactory::Job::Delegate* delegate,
HttpStreamFactory::JobType job_type,
HttpNetworkSession* session,
const HttpStreamFactory::StreamRequestInfo& request_info,
RequestPriority priority,
const ProxyInfo& proxy_info,
const std::vector<SSLConfig::CertAndStatus>& allowed_bad_certs,
url::SchemeHostPort destination,
GURL origin_url,
bool is_websocket,
bool enable_ip_based_pooling,
NetLog* net_log,
NextProto alternative_protocol = kProtoUnknown,
quic::ParsedQuicVersion quic_version =
quic::ParsedQuicVersion::Unsupported()) { … }
}