| 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 #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_WIN) | 11 #if defined(OS_WIN) |
| 13 #include <windows.h> | 12 #include <windows.h> |
| 14 #endif | 13 #endif |
| 15 | 14 |
| 16 #if defined(OS_POSIX) | 15 #if defined(OS_POSIX) |
| 17 #include <list> | 16 #include <list> |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 | 173 |
| 175 scoped_refptr<WaitableEventKernel> kernel_; | 174 scoped_refptr<WaitableEventKernel> kernel_; |
| 176 #endif | 175 #endif |
| 177 | 176 |
| 178 DISALLOW_COPY_AND_ASSIGN(WaitableEvent); | 177 DISALLOW_COPY_AND_ASSIGN(WaitableEvent); |
| 179 }; | 178 }; |
| 180 | 179 |
| 181 } // namespace base | 180 } // namespace base |
| 182 | 181 |
| 183 #endif // BASE_SYNCHRONIZATION_WAITABLE_EVENT_H_ | 182 #endif // BASE_SYNCHRONIZATION_WAITABLE_EVENT_H_ |
| OLD | NEW |