chromium/net/http/http_stream_pool_quic_task.h

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef NET_HTTP_HTTP_STREAM_POOL_QUIC_TASK_H_
#define NET_HTTP_HTTP_STREAM_POOL_QUIC_TASK_H_

#include <memory>
#include <optional>

#include "base/memory/raw_ptr.h"
#include "base/memory/weak_ptr.h"
#include "net/base/ip_endpoint.h"
#include "net/dns/host_resolver.h"
#include "net/http/http_stream_pool.h"
#include "net/quic/quic_session_alias_key.h"
#include "net/quic/quic_session_attempt.h"
#include "net/quic/quic_session_pool.h"
#include "net/third_party/quiche/src/quiche/quic/core/quic_versions.h"

namespace net {

class HttpStreamKey;
class QuicSessionKey;

// Handles QUIC session attempts for HttpStreamPool::AttemptManager. Owned by an
// AttemptManager.
class HttpStreamPool::QuicTask : public QuicSessionAttempt::Delegate {};

}  // namespace net

#endif  // NET_HTTP_HTTP_STREAM_POOL_QUIC_TASK_H_