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_SYNCHRONIZATION_WAITABLE_EVENT_H_ | 5 #ifndef BASE_SYNCHRONIZATION_WAITABLE_EVENT_H_ |
6 #define BASE_SYNCHRONIZATION_WAITABLE_EVENT_H_ | 6 #define BASE_SYNCHRONIZATION_WAITABLE_EVENT_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include "base/base_export.h" | 10 #include "base/base_export.h" |
9 #include "base/basictypes.h" | 11 #include "base/macros.h" |
| 12 #include "build/build_config.h" |
10 | 13 |
11 #if defined(OS_WIN) | 14 #if defined(OS_WIN) |
12 #include "base/win/scoped_handle.h" | 15 #include "base/win/scoped_handle.h" |
13 #endif | 16 #endif |
14 | 17 |
15 #if defined(OS_POSIX) | 18 #if defined(OS_POSIX) |
16 #include <list> | 19 #include <list> |
17 #include <utility> | 20 #include <utility> |
18 #include "base/memory/ref_counted.h" | 21 #include "base/memory/ref_counted.h" |
19 #include "base/synchronization/lock.h" | 22 #include "base/synchronization/lock.h" |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 | 180 |
178 scoped_refptr<WaitableEventKernel> kernel_; | 181 scoped_refptr<WaitableEventKernel> kernel_; |
179 #endif | 182 #endif |
180 | 183 |
181 DISALLOW_COPY_AND_ASSIGN(WaitableEvent); | 184 DISALLOW_COPY_AND_ASSIGN(WaitableEvent); |
182 }; | 185 }; |
183 | 186 |
184 } // namespace base | 187 } // namespace base |
185 | 188 |
186 #endif // BASE_SYNCHRONIZATION_WAITABLE_EVENT_H_ | 189 #endif // BASE_SYNCHRONIZATION_WAITABLE_EVENT_H_ |
OLD | NEW |