blob: a81b973b4cf301e8aa796b71e8f9d12d0f9522c8 [file] [log] [blame]
// Copyright (c) 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "quiche/quic/tools/quic_epoll_server_factory.h"
#include <utility>
#include "quiche/quic/tools/quic_server.h"
namespace quic {
std::unique_ptr<quic::QuicSpdyServerBase> QuicEpollServerFactory::CreateServer(
quic::QuicSimpleServerBackend* backend,
std::unique_ptr<quic::ProofSource> proof_source,
const quic::ParsedQuicVersionVector& supported_versions) {
return std::make_unique<quic::QuicServer>(std::move(proof_source), backend,
supported_versions);
}
} // namespace quic