// Copyright 2014 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 TRACE_COLLECTIONS_H_ #define TRACE_COLLECTIONS_H_ #include "heap/stubs.h" namespace blink { class HeapObject : public GarbageCollected { public: void Trace(Visitor*); private: HeapVector > m_heapVector; Vector, 0, HeapAllocator> m_wtfVector; HeapDeque > m_heapDeque; Deque, 0, HeapAllocator> m_wtfDeque; HeapHashSet > m_heapSet; HashSet, void, HeapAllocator> m_wtfSet; HeapListHashSet > m_heapListSet; ListHashSet, void, HeapAllocator> m_wtfListSet; HeapLinkedHashSet > m_heapLinkedSet; LinkedHashSet, void, HeapAllocator> m_wtfLinkedSet; HeapHashCountedSet > m_heapCountedSet; HashCountedSet, void, HeapAllocator> m_wtfCountedSet; HeapHashMap > m_heapMapKey; HeapHashMap, int > m_heapMapVal; HashMap, void, void, void, HeapAllocator> m_wtfMapKey; HashMap, int, void, void, void, HeapAllocator> m_wtfMapVal; }; } #endif