blob: 6aa53c3e79b2e12a832e1a909942b3f73e105594 [file] [log] [blame]
QUICHE team82dee2f2019-01-18 12:35:12 -05001// Copyright 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 QUICHE_SPDY_PLATFORM_API_SPDY_ESTIMATE_MEMORY_USAGE_H_
6#define QUICHE_SPDY_PLATFORM_API_SPDY_ESTIMATE_MEMORY_USAGE_H_
7
8#include <cstddef>
9
10#include "net/spdy/platform/impl/spdy_estimate_memory_usage_impl.h"
11
12namespace spdy {
13
14template <class T>
15size_t SpdyEstimateMemoryUsage(const T& object) {
16 return SpdyEstimateMemoryUsageImpl(object);
17}
18
19} // namespace spdy
20
21#endif // QUICHE_SPDY_PLATFORM_API_SPDY_ESTIMATE_MEMORY_USAGE_H_