1 // Copyright 2017 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 #ifndef NET_THIRD_PARTY_QUICHE_OVERRIDES_QUICHE_PLATFORM_IMPL_QUICHE_CONTAINERS_IMPL_H_ 6 #define NET_THIRD_PARTY_QUICHE_OVERRIDES_QUICHE_PLATFORM_IMPL_QUICHE_CONTAINERS_IMPL_H_ 7 8 #include <vector> 9 10 #include "base/containers/flat_set.h" 11 12 namespace quiche { 13 14 // TODO(wub): Switch to absl::InlinedVector once it is allowed. 15 template <typename T, size_t N, typename A = std::allocator<T>> 16 using QuicheInlinedVectorImpl = std::vector<T, A>; 17 18 template <typename Key, typename Compare> 19 using QuicheSmallOrderedSetImpl = base::flat_set<Key, Compare>; 20 21 } // namespace quiche 22 23 #endif // NET_THIRD_PARTY_QUICHE_OVERRIDES_QUICHE_PLATFORM_IMPL_QUICHE_CONTAINERS_IMPL_H_ 24