| 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 #pragma once | |
| 8 | 7 |
| 9 #include "base/base_export.h" | 8 #include "base/base_export.h" |
| 10 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 11 | 10 |
| 12 #if defined(OS_POSIX) | 11 #if defined(OS_POSIX) |
| 13 #include <pthread.h> | 12 #include <pthread.h> |
| 14 #endif | 13 #endif |
| 15 | 14 |
| 16 namespace base { | 15 namespace base { |
| 17 | 16 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 #endif | 84 #endif |
| 86 DISALLOW_COPY_AND_ASSIGN(Slot); | 85 DISALLOW_COPY_AND_ASSIGN(Slot); |
| 87 }; | 86 }; |
| 88 | 87 |
| 89 DISALLOW_COPY_AND_ASSIGN(ThreadLocalStorage); | 88 DISALLOW_COPY_AND_ASSIGN(ThreadLocalStorage); |
| 90 }; | 89 }; |
| 91 | 90 |
| 92 } // namespace base | 91 } // namespace base |
| 93 | 92 |
| 94 #endif // BASE_THREADING_THREAD_LOCAL_STORAGE_H_ | 93 #endif // BASE_THREADING_THREAD_LOCAL_STORAGE_H_ |
| OLD | NEW |