1 // Copyright 2019 The Chromium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "net/tools/quic/quic_simple_server_backend_factory.h" 6 #include "net/third_party/quiche/src/quiche/common/platform/api/quiche_command_line_flags.h" 7 #include "net/third_party/quiche/src/quiche/quic/platform/api/quic_flags.h" 8 9 namespace net { 10 11 std::unique_ptr<quic::QuicSimpleServerBackend> CreateBackend()12QuicSimpleServerBackendFactory::CreateBackend() { 13 quic::QuicToyServer::MemoryCacheBackendFactory backend_factory; 14 return backend_factory.CreateBackend(); 15 } 16 17 } // namespace net 18