| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 #ifndef WEBRTC_BASE_EVENT_H__ | 11 #ifndef WEBRTC_RTC_BASE_EVENT_H_ |
| 12 #define WEBRTC_BASE_EVENT_H__ | 12 #define WEBRTC_RTC_BASE_EVENT_H_ |
| 13 | 13 |
| 14 #include "webrtc/base/constructormagic.h" | 14 #include "webrtc/base/constructormagic.h" |
| 15 #if defined(WEBRTC_WIN) | 15 #if defined(WEBRTC_WIN) |
| 16 #include "webrtc/base/win32.h" // NOLINT: consider this a system header. | 16 #include "webrtc/base/win32.h" // NOLINT: consider this a system header. |
| 17 #elif defined(WEBRTC_POSIX) | 17 #elif defined(WEBRTC_POSIX) |
| 18 #include <pthread.h> | 18 #include <pthread.h> |
| 19 #else | 19 #else |
| 20 #error "Must define either WEBRTC_WIN or WEBRTC_POSIX." | 20 #error "Must define either WEBRTC_WIN or WEBRTC_POSIX." |
| 21 #endif | 21 #endif |
| 22 | 22 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 44 pthread_cond_t event_cond_; | 44 pthread_cond_t event_cond_; |
| 45 const bool is_manual_reset_; | 45 const bool is_manual_reset_; |
| 46 bool event_status_; | 46 bool event_status_; |
| 47 #endif | 47 #endif |
| 48 | 48 |
| 49 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(Event); | 49 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(Event); |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 } // namespace rtc | 52 } // namespace rtc |
| 53 | 53 |
| 54 #endif // WEBRTC_BASE_EVENT_H__ | 54 #endif // WEBRTC_RTC_BASE_EVENT_H_ |
| OLD | NEW |