Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(401)

Side by Side Diff: base/threading/thread_local_storage.h

Issue 1550503002: Switch to standard integer types in base/threading/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « base/threading/thread_local_posix.cc ('k') | base/threading/thread_local_storage.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/atomicops.h" 8 #include "base/atomicops.h"
9 #include "base/base_export.h" 9 #include "base/base_export.h"
10 #include "base/basictypes.h" 10 #include "base/macros.h"
11 #include "build/build_config.h"
11 12
12 #if defined(OS_WIN) 13 #if defined(OS_WIN)
13 #include <windows.h> 14 #include <windows.h>
14 #elif defined(OS_POSIX) 15 #elif defined(OS_POSIX)
15 #include <pthread.h> 16 #include <pthread.h>
16 #endif 17 #endif
17 18
18 namespace base { 19 namespace base {
19 20
20 namespace internal { 21 namespace internal {
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 DISALLOW_COPY_AND_ASSIGN(Slot); 139 DISALLOW_COPY_AND_ASSIGN(Slot);
139 }; 140 };
140 141
141 private: 142 private:
142 DISALLOW_COPY_AND_ASSIGN(ThreadLocalStorage); 143 DISALLOW_COPY_AND_ASSIGN(ThreadLocalStorage);
143 }; 144 };
144 145
145 } // namespace base 146 } // namespace base
146 147
147 #endif // BASE_THREADING_THREAD_LOCAL_STORAGE_H_ 148 #endif // BASE_THREADING_THREAD_LOCAL_STORAGE_H_
OLDNEW
« no previous file with comments | « base/threading/thread_local_posix.cc ('k') | base/threading/thread_local_storage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698