| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2017 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 NET_QUIC_PLATFORM_API_QUIC_MAP_UTIL_H_ |
| 6 #define NET_QUIC_PLATFORM_API_QUIC_MAP_UTIL_H_ |
| 7 |
| 8 #include "net/quic/platform/impl/quic_map_util_impl.h" |
| 9 |
| 10 namespace net { |
| 11 |
| 12 template <class Collection, class Key> |
| 13 bool QuicContainsKey(const Collection& collection, const Key& key) { |
| 14 return QuicContainsKeyImpl(collection, key); |
| 15 } |
| 16 |
| 17 template <typename Collection, typename Value> |
| 18 bool QuicContainsValue(const Collection& collection, const Value& value) { |
| 19 return QuicContainsValueImpl(collection, value); |
| 20 } |
| 21 |
| 22 } // namespace net |
| 23 |
| 24 #endif // NET_QUIC_PLATFORM_API_QUIC_MAP_UTIL_H_ |
| OLD | NEW |