| Index: third_party/tcmalloc/chromium/src/gperftools/type_profiler_map.h
|
| diff --git a/third_party/tcmalloc/chromium/src/gperftools/type_profiler_map.h b/third_party/tcmalloc/chromium/src/gperftools/type_profiler_map.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f5b0946998714ea973843def98408ba349f0d61b
|
| --- /dev/null
|
| +++ b/third_party/tcmalloc/chromium/src/gperftools/type_profiler_map.h
|
| @@ -0,0 +1,22 @@
|
| +// Copyright 2012 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 TYPE_PROFILER_MAP_H_
|
| +#define TYPE_PROFILER_MAP_H_
|
| +
|
| +#include <typeinfo>
|
| +
|
| +// We don't use PERFTOOLS_DLL_DECL since TypeProfilerMap works only on Linux.
|
| +
|
| +namespace base {
|
| +namespace type_profiler {
|
| +
|
| +void InsertType(void* address, unsigned int size, const std::type_info& type);
|
| +void EraseType(void* address);
|
| +const std::type_info* LookupType(const void* address);
|
| +
|
| +} // namespace type_profiler
|
| +} // namespace base
|
| +
|
| +#endif // TYPE_PROFILER_MAP_H_
|
|
|