Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Side by Side Diff: net/quic/platform/api/quic_map_util.h

Issue 2651673004: Add quic_map_util. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/quic/core/spdy_utils.cc ('k') | net/quic/platform/impl/quic_map_util_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_
OLDNEW
« no previous file with comments | « net/quic/core/spdy_utils.cc ('k') | net/quic/platform/impl/quic_map_util_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698