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

Side by Side Diff: webrtc/rtc_base/event.cc

Issue 2962303003: Revert "Update includes for webrtc/{base => rtc_base} rename (3/3)" (Closed)
Patch Set: Created 3 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
« no previous file with comments | « webrtc/rtc_base/event.h ('k') | webrtc/rtc_base/event_tracer.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 /* 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 #include "webrtc/rtc_base/event.h" 11 #include "webrtc/base/event.h"
12 12
13 #if defined(WEBRTC_WIN) 13 #if defined(WEBRTC_WIN)
14 #include <windows.h> 14 #include <windows.h>
15 #elif defined(WEBRTC_POSIX) 15 #elif defined(WEBRTC_POSIX)
16 #include <pthread.h> 16 #include <pthread.h>
17 #include <sys/time.h> 17 #include <sys/time.h>
18 #include <time.h> 18 #include <time.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
23 #include "webrtc/rtc_base/checks.h" 23 #include "webrtc/base/checks.h"
24 24
25 namespace rtc { 25 namespace rtc {
26 26
27 #if defined(WEBRTC_WIN) 27 #if defined(WEBRTC_WIN)
28 28
29 Event::Event(bool manual_reset, bool initially_signaled) { 29 Event::Event(bool manual_reset, bool initially_signaled) {
30 event_handle_ = ::CreateEvent(nullptr, // Security attributes. 30 event_handle_ = ::CreateEvent(nullptr, // Security attributes.
31 manual_reset, initially_signaled, 31 manual_reset, initially_signaled,
32 nullptr); // Name. 32 nullptr); // Name.
33 RTC_CHECK(event_handle_); 33 RTC_CHECK(event_handle_);
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 event_status_ = false; 127 event_status_ = false;
128 128
129 pthread_mutex_unlock(&event_mutex_); 129 pthread_mutex_unlock(&event_mutex_);
130 130
131 return (error == 0); 131 return (error == 0);
132 } 132 }
133 133
134 #endif 134 #endif
135 135
136 } // namespace rtc 136 } // namespace rtc
OLDNEW
« no previous file with comments | « webrtc/rtc_base/event.h ('k') | webrtc/rtc_base/event_tracer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698