#include <inttypes.h>
#include <memory>
#include "base/files/file_path.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/memory/ref_counted_memory.h"
#include "base/run_loop.h"
#include "base/strings/stringprintf.h"
#include "base/task/single_thread_task_runner.h"
#include "base/test/task_environment.h"
#include "base/time/time.h"
#include "net/base/load_timing_info.h"
#include "net/cert/mock_cert_verifier.h"
#include "net/dns/mapped_host_resolver.h"
#include "net/dns/mock_host_resolver.h"
#include "net/http/http_network_session.h"
#include "net/http/http_status_code.h"
#include "net/quic/crypto/proof_source_chromium.h"
#include "net/quic/crypto_test_utils_chromium.h"
#include "net/quic/quic_context.h"
#include "net/test/cert_test_util.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
#include "net/test/embedded_test_server/http_response.h"
#include "net/test/gtest_util.h"
#include "net/test/test_data_directory.h"
#include "net/third_party/quiche/src/quiche/quic/tools/quic_memory_cache_backend.h"
#include "net/tools/quic/quic_simple_server.h"
#include "net/traffic_annotation/network_traffic_annotation_test_helper.h"
#include "net/url_request/url_request.h"
#include "net/url_request/url_request_context.h"
#include "net/url_request/url_request_context_builder.h"
#include "net/url_request/url_request_test_util.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/perf/perf_result_reporter.h"
#include "url/gurl.h"
_;
Invoke;
Contains;
Eq;
ByRef;
namespace net {
namespace {
constexpr int kAltSvcPort = …;
constexpr char kOriginHost[] = …;
constexpr char kAltSvcHost[] = …;
constexpr char kHelloPath[] = …;
constexpr char kHelloAltSvcResponse[] = …;
constexpr char kHelloOriginResponse[] = …;
constexpr int kHelloStatus = …;
constexpr char kMetricPrefixURLRequestQuick[] = …;
constexpr char kMetricRequestTimeMs[] = …;
perf_test::PerfResultReporter SetUpURLRequestQuicReporter(
const std::string& story) { … }
std::unique_ptr<test_server::HttpResponse> HandleRequest(
const test_server::HttpRequest& request) { … }
class URLRequestQuicPerfTest : public ::testing::Test { … };
}
TEST_F(URLRequestQuicPerfTest, TestGetRequest) { … }
}