blob: 5e4a10ee69036a653faa4ac552c8aabcf2e6c25e [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 NET_THIRD_PARTY_QUIC_PLATFORM_IMPL_QUIC_ESTIMATE_MEMORY_USAGE_IMPL_H_
#define NET_THIRD_PARTY_QUIC_PLATFORM_IMPL_QUIC_ESTIMATE_MEMORY_USAGE_IMPL_H_
#include <cstddef>
#include "base/trace_event/memory_usage_estimator.h"
namespace quic {
template <class T>
size_t QuicEstimateMemoryUsageImpl(const T& object) {
return base::trace_event::EstimateMemoryUsage(object);
}
} // namespace quic
#endif // NET_THIRD_PARTY_QUIC_PLATFORM_IMPL_QUIC_ESTIMATE_MEMORY_USAGE_IMPL_H_