blob: f0c206a5d3f50dc23f541fc02bcde8058268a08e [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 "net/third_party/quiche/src/quic/tools/quic_epoll_server_factory.h"
#include "net/third_party/quiche/src/quic/tools/quic_server.h"
namespace quic {
std::unique_ptr<quic::QuicSpdyServerBase> QuicEpollServerFactory::CreateServer(
quic::QuicSimpleServerBackend* backend,
std::unique_ptr<quic::ProofSource> proof_source) {
return quic::QuicMakeUnique<quic::QuicServer>(std::move(proof_source),
backend);
}
} // namespace quic