| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef ThreadingTraits_h | 5 #ifndef ThreadingTraits_h |
| 6 #define ThreadingTraits_h | 6 #define ThreadingTraits_h |
| 7 | 7 |
| 8 #include "wtf/Allocator.h" | 8 #include "platform/wtf/Allocator.h" |
| 9 #include "wtf/Deque.h" | 9 #include "platform/wtf/Deque.h" |
| 10 #include "wtf/HashCountedSet.h" | 10 #include "platform/wtf/HashCountedSet.h" |
| 11 #include "wtf/HashMap.h" | 11 #include "platform/wtf/HashMap.h" |
| 12 #include "wtf/HashSet.h" | 12 #include "platform/wtf/HashSet.h" |
| 13 #include "wtf/HashTable.h" | 13 #include "platform/wtf/HashTable.h" |
| 14 #include "wtf/LinkedHashSet.h" | 14 #include "platform/wtf/LinkedHashSet.h" |
| 15 #include "wtf/ListHashSet.h" | 15 #include "platform/wtf/ListHashSet.h" |
| 16 #include "wtf/TypeTraits.h" | 16 #include "platform/wtf/TypeTraits.h" |
| 17 #include "wtf/Vector.h" | 17 #include "platform/wtf/Vector.h" |
| 18 | 18 |
| 19 namespace blink { | 19 namespace blink { |
| 20 | 20 |
| 21 template <typename T> | 21 template <typename T> |
| 22 class SameThreadCheckedMember; | 22 class SameThreadCheckedMember; |
| 23 template <typename T> | 23 template <typename T> |
| 24 class TraceWrapperMember; | 24 class TraceWrapperMember; |
| 25 | 25 |
| 26 // ThreadAffinity indicates which threads objects can be used on. We | 26 // ThreadAffinity indicates which threads objects can be used on. We |
| 27 // distinguish between objects that can be used on the main thread | 27 // distinguish between objects that can be used on the main thread |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 }; | 197 }; |
| 198 template <typename T, typename U, typename V> | 198 template <typename T, typename U, typename V> |
| 199 struct ThreadingTrait<HeapHashCountedSet<T, U, V>> | 199 struct ThreadingTrait<HeapHashCountedSet<T, U, V>> |
| 200 : public ThreadingTrait<HashCountedSet<T, U, V, HeapAllocator>> { | 200 : public ThreadingTrait<HashCountedSet<T, U, V, HeapAllocator>> { |
| 201 STATIC_ONLY(ThreadingTrait); | 201 STATIC_ONLY(ThreadingTrait); |
| 202 }; | 202 }; |
| 203 | 203 |
| 204 } // namespace blink | 204 } // namespace blink |
| 205 | 205 |
| 206 #endif | 206 #endif |
| OLD | NEW |