#ifndef NET_HTTP_HTTP_TRANSACTION_TEST_UTIL_H_
#define NET_HTTP_HTTP_TRANSACTION_TEST_UTIL_H_
#include <stdint.h>
#include <optional>
#include <set>
#include <string>
#include <vector>
#include "base/compiler_specific.h"
#include "base/functional/callback.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/scoped_refptr.h"
#include "base/memory/weak_ptr.h"
#include "base/time/time.h"
#include "net/base/completion_once_callback.h"
#include "net/base/io_buffer.h"
#include "net/base/load_flags.h"
#include "net/base/net_error_details.h"
#include "net/base/net_errors.h"
#include "net/base/request_priority.h"
#include "net/base/test_completion_callback.h"
#include "net/base/transport_info.h"
#include "net/cert/x509_certificate.h"
#include "net/disk_cache/disk_cache.h"
#include "net/http/http_cache.h"
#include "net/http/http_request_info.h"
#include "net/http/http_response_headers.h"
#include "net/http/http_response_info.h"
#include "net/http/http_transaction.h"
#include "net/log/net_log_source.h"
#include "net/socket/connection_attempts.h"
namespace net {
class IOBuffer;
class SSLPrivateKey;
class NetLogWithSource;
struct HttpRequestInfo;
enum { … };
MockTransactionReadHandler;
MockTransactionHandler;
TransportInfo DefaultTransportInfo();
struct MockTransaction { … };
extern const MockTransaction kSimpleGET_Transaction;
extern const MockTransaction kSimplePOST_Transaction;
extern const MockTransaction kTypicalGET_Transaction;
extern const MockTransaction kETagGET_Transaction;
extern const MockTransaction kRangeGET_Transaction;
const MockTransaction* FindMockTransaction(const GURL& url);
struct ScopedMockTransaction : MockTransaction { … };
class MockHttpRequest : public HttpRequestInfo { … };
class TestTransactionConsumer { … };
class MockNetworkLayer;
class MockNetworkTransaction final : public HttpTransaction { … };
class MockNetworkLayer final : public HttpTransactionFactory { … };
int ReadTransaction(HttpTransaction* trans, std::string* result);
class ConnectedHandler { … };
}
#endif