#include "net/quic/quic_proxy_client_socket.h"
#include <memory>
#include <utility>
#include "base/functional/bind.h"
#include "base/memory/ptr_util.h"
#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#include "base/strings/utf_string_conversions.h"
#include "base/task/single_thread_task_runner.h"
#include "net/base/network_anonymization_key.h"
#include "net/base/proxy_chain.h"
#include "net/base/proxy_server.h"
#include "net/base/proxy_string_util.h"
#include "net/base/test_proxy_delegate.h"
#include "net/http/http_response_headers.h"
#include "net/log/net_log.h"
#include "net/log/test_net_log.h"
#include "net/log/test_net_log_util.h"
#include "net/quic/quic_chromium_client_session.h"
#include "net/quic/quic_http_utils.h"
#include "net/quic/quic_proxy_client_socket_test_base.h"
#include "net/quic/test_quic_crypto_client_config_handle.h"
#include "net/quic/test_task_runner.h"
#include "net/ssl/ssl_config_service_defaults.h"
#include "net/test/gtest_util.h"
#include "net/test/test_data_directory.h"
#include "net/test/test_with_task_environment.h"
#include "net/third_party/quiche/src/quiche/common/http/http_header_block.h"
#include "net/third_party/quiche/src/quiche/quic/test_tools/qpack/qpack_test_utils.h"
#include "net/third_party/quiche/src/quiche/quic/test_tools/quic_test_utils.h"
#include "net/traffic_annotation/network_traffic_annotation_test_helper.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
#include "url/scheme_host_port.h"
_;
AnyNumber;
Return;
namespace net::test {
class QuicProxyClientSocketTest : public QuicProxyClientSocketTestBase { … };
TEST_P(QuicProxyClientSocketTest, ConnectSendsCorrectRequest) { … }
TEST_P(QuicProxyClientSocketTest, ProxyDelegateExtraHeaders) { … }
TEST_P(QuicProxyClientSocketTest, ConnectWithAuthRequested) { … }
TEST_P(QuicProxyClientSocketTest, ConnectWithAuthCredentials) { … }
TEST_P(QuicProxyClientSocketTest, ConnectRedirects) { … }
TEST_P(QuicProxyClientSocketTest, ConnectFails) { … }
TEST_P(QuicProxyClientSocketTest, WasEverUsedReturnsCorrectValue) { … }
TEST_P(QuicProxyClientSocketTest, GetPeerAddressReturnsCorrectValues) { … }
TEST_P(QuicProxyClientSocketTest, IsConnectedAndIdle) { … }
TEST_P(QuicProxyClientSocketTest, GetTotalReceivedBytes) { … }
TEST_P(QuicProxyClientSocketTest, SetStreamPriority) { … }
TEST_P(QuicProxyClientSocketTest, WriteSendsDataInDataFrame) { … }
TEST_P(QuicProxyClientSocketTest, WriteSplitsLargeDataIntoMultiplePackets) { … }
TEST_P(QuicProxyClientSocketTest, ReadReadsDataInDataFrame) { … }
TEST_P(QuicProxyClientSocketTest, ReadDataFromBufferedFrames) { … }
TEST_P(QuicProxyClientSocketTest, ReadDataMultipleBufferedFrames) { … }
TEST_P(QuicProxyClientSocketTest, LargeReadWillMergeDataFromDifferentFrames) { … }
TEST_P(QuicProxyClientSocketTest, MultipleShortReadsThenMoreRead) { … }
TEST_P(QuicProxyClientSocketTest, ReadWillSplitDataFromLargeFrame) { … }
TEST_P(QuicProxyClientSocketTest, MultipleReadsFromSameLargeFrame) { … }
TEST_P(QuicProxyClientSocketTest, ReadAuthResponseBody) { … }
TEST_P(QuicProxyClientSocketTest, ReadErrorResponseBody) { … }
TEST_P(QuicProxyClientSocketTest, AsyncReadAroundWrite) { … }
TEST_P(QuicProxyClientSocketTest, AsyncWriteAroundReads) { … }
TEST_P(QuicProxyClientSocketTest, ReadOnClosedSocketReturnsZero) { … }
TEST_P(QuicProxyClientSocketTest, PendingReadOnCloseReturnsZero) { … }
TEST_P(QuicProxyClientSocketTest, ReadOnDisconnectSocketReturnsNotConnected) { … }
TEST_P(QuicProxyClientSocketTest, ReadAfterFinReceivedReturnsBufferedData) { … }
TEST_P(QuicProxyClientSocketTest, WriteOnClosedStream) { … }
TEST_P(QuicProxyClientSocketTest, WriteOnDisconnectedSocket) { … }
TEST_P(QuicProxyClientSocketTest, WritePendingOnClose) { … }
TEST_P(QuicProxyClientSocketTest, DisconnectWithWritePending) { … }
TEST_P(QuicProxyClientSocketTest, DisconnectWithReadPending) { … }
TEST_P(QuicProxyClientSocketTest, RstWithReadAndWritePending) { … }
TEST_P(QuicProxyClientSocketTest, NetLog) { … }
class DeleteSockCallback : public TestCompletionCallbackBase { … };
TEST_P(QuicProxyClientSocketTest, RstWithReadAndWritePendingDelete) { … }
INSTANTIATE_TEST_SUITE_P(…);
}