OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_THREADING_THREAD_LOCAL_STORAGE_H_ | 5 #ifndef BASE_THREADING_THREAD_LOCAL_STORAGE_H_ |
6 #define BASE_THREADING_THREAD_LOCAL_STORAGE_H_ | 6 #define BASE_THREADING_THREAD_LOCAL_STORAGE_H_ |
7 | 7 |
8 #include "base/base_export.h" | 8 #include "base/base_export.h" |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 | 10 |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 // Calls StaticSlot::Initialize(). | 129 // Calls StaticSlot::Initialize(). |
130 explicit Slot(TLSDestructorFunc destructor = NULL); | 130 explicit Slot(TLSDestructorFunc destructor = NULL); |
131 | 131 |
132 private: | 132 private: |
133 using StaticSlot::initialized_; | 133 using StaticSlot::initialized_; |
134 using StaticSlot::slot_; | 134 using StaticSlot::slot_; |
135 | 135 |
136 DISALLOW_COPY_AND_ASSIGN(Slot); | 136 DISALLOW_COPY_AND_ASSIGN(Slot); |
137 }; | 137 }; |
138 | 138 |
| 139 private: |
139 DISALLOW_COPY_AND_ASSIGN(ThreadLocalStorage); | 140 DISALLOW_COPY_AND_ASSIGN(ThreadLocalStorage); |
140 }; | 141 }; |
141 | 142 |
142 } // namespace base | 143 } // namespace base |
143 | 144 |
144 #endif // BASE_THREADING_THREAD_LOCAL_STORAGE_H_ | 145 #endif // BASE_THREADING_THREAD_LOCAL_STORAGE_H_ |
OLD | NEW |