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

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

Issue 10735044: Remove #pragma once. Just from base/ for now. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « base/threading/thread_local.h ('k') | base/threading/watchdog.h » ('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 #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
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_
OLDNEW
« no previous file with comments | « base/threading/thread_local.h ('k') | base/threading/watchdog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698