1 // Copyright 2022 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef QUICHE_COMMON_PLATFORM_API_QUIC_EVENT_LOOP_H_ 6 #define QUICHE_COMMON_PLATFORM_API_QUIC_EVENT_LOOP_H_ 7 8 #include "quiche_platform_impl/quiche_event_loop_impl.h" 9 10 namespace quic { 11 class QuicEventLoopFactory; 12 } 13 14 namespace quiche { 15 GetOverrideForDefaultEventLoop()16inline quic::QuicEventLoopFactory* GetOverrideForDefaultEventLoop() { 17 return GetOverrideForDefaultEventLoopImpl(); 18 } 19 20 inline std::vector<quic::QuicEventLoopFactory*> GetExtraEventLoopImplementations()21GetExtraEventLoopImplementations() { 22 return GetExtraEventLoopImplementationsImpl(); 23 } 24 25 } // namespace quiche 26 27 #endif // QUICHE_COMMON_PLATFORM_API_QUIC_EVENT_LOOP_H_ 28