blob: 4e22d1eabb029067d4b06e33911d279670c868ee [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef QUICHE_SPDY_PLATFORM_API_SPDY_ESTIMATE_MEMORY_USAGE_H_
#define QUICHE_SPDY_PLATFORM_API_SPDY_ESTIMATE_MEMORY_USAGE_H_
#include <cstddef>
#include "quiche_platform_impl/quiche_estimate_memory_usage_impl.h"
namespace spdy {
template <class T>
size_t SpdyEstimateMemoryUsage(const T& object) {
return quiche::QuicheEstimateMemoryUsageImpl(object);
}
} // namespace spdy
#endif // QUICHE_SPDY_PLATFORM_API_SPDY_ESTIMATE_MEMORY_USAGE_H_