OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 BASE_THREAD_LOCAL_STORAGE_H_ | 5 #ifndef BASE_THREAD_LOCAL_STORAGE_H_ |
6 #define BASE_THREAD_LOCAL_STORAGE_H_ | 6 #define BASE_THREAD_LOCAL_STORAGE_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 | 9 |
10 #if defined(OS_POSIX) | 10 #if defined(OS_POSIX) |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 #endif // OS_WIN | 85 #endif // OS_WIN |
86 | 86 |
87 DISALLOW_COPY_AND_ASSIGN(ThreadLocalStorage); | 87 DISALLOW_COPY_AND_ASSIGN(ThreadLocalStorage); |
88 }; | 88 }; |
89 | 89 |
90 // Temporary backwards-compatible name. | 90 // Temporary backwards-compatible name. |
91 // TODO(evanm): replace all usage of TLSSlot. | 91 // TODO(evanm): replace all usage of TLSSlot. |
92 typedef ThreadLocalStorage::Slot TLSSlot; | 92 typedef ThreadLocalStorage::Slot TLSSlot; |
93 | 93 |
94 #endif // BASE_THREAD_LOCAL_STORAGE_H_ | 94 #endif // BASE_THREAD_LOCAL_STORAGE_H_ |
95 | |
OLD | NEW |