blob: e3882c5e0bbb063d474c46a45ab516d43b04cac7 [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_SPDY_PLATFORM_IMPL_SPDY_ESTIMATE_MEMORY_USAGE_IMPL_H_
#define NET_SPDY_PLATFORM_IMPL_SPDY_ESTIMATE_MEMORY_USAGE_IMPL_H_
#include <cstddef>
#include "base/trace_event/memory_usage_estimator.h"
namespace spdy {
template <class T>
size_t SpdyEstimateMemoryUsageImpl(const T& object) {
return base::trace_event::EstimateMemoryUsage(object);
}
} // namespace spdy
#endif // NET_SPDY_PLATFORM_IMPL_SPDY_ESTIMATE_MEMORY_USAGE_IMPL_H_