// Copyright 2015 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef BASE_TRACE_EVENT_HEAP_PROFILER_ALLOCATION_CONTEXT_TRACKER_H_ #define BASE_TRACE_EVENT_HEAP_PROFILER_ALLOCATION_CONTEXT_TRACKER_H_ #include <atomic> #include <cstdint> #include <vector> #include "base/base_export.h" namespace base { namespace trace_event { // AllocationContextTracker is a thread-local object. Its main purpose is to // keep track of context pointers for memory allocation samples. See // |AllocationContext|. // // A thread-local instance of the context tracker is initialized lazily when it // is first accessed. class BASE_EXPORT AllocationContextTracker { … }; } // namespace trace_event } // namespace base #endif // BASE_TRACE_EVENT_HEAP_PROFILER_ALLOCATION_CONTEXT_TRACKER_H_