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_PHYSICALSOCKETSERVER_H__ | 11 #ifndef WEBRTC_RTC_BASE_PHYSICALSOCKETSERVER_H_ |
12 #define WEBRTC_BASE_PHYSICALSOCKETSERVER_H__ | 12 #define WEBRTC_RTC_BASE_PHYSICALSOCKETSERVER_H_ |
13 | 13 |
14 #if defined(WEBRTC_POSIX) && defined(WEBRTC_LINUX) | 14 #if defined(WEBRTC_POSIX) && defined(WEBRTC_LINUX) |
15 #include <sys/epoll.h> | 15 #include <sys/epoll.h> |
16 #define WEBRTC_USE_EPOLL 1 | 16 #define WEBRTC_USE_EPOLL 1 |
17 #endif | 17 #endif |
18 | 18 |
19 #include <memory> | 19 #include <memory> |
20 #include <set> | 20 #include <set> |
21 #include <vector> | 21 #include <vector> |
22 | 22 |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 #endif // WEBRTC_WIN | 260 #endif // WEBRTC_WIN |
261 #if defined(WEBRTC_USE_EPOLL) | 261 #if defined(WEBRTC_USE_EPOLL) |
262 void MaybeUpdateDispatcher(uint8_t old_events); | 262 void MaybeUpdateDispatcher(uint8_t old_events); |
263 | 263 |
264 int saved_enabled_events_ = -1; | 264 int saved_enabled_events_ = -1; |
265 #endif | 265 #endif |
266 }; | 266 }; |
267 | 267 |
268 } // namespace rtc | 268 } // namespace rtc |
269 | 269 |
270 #endif // WEBRTC_BASE_PHYSICALSOCKETSERVER_H__ | 270 #endif // WEBRTC_RTC_BASE_PHYSICALSOCKETSERVER_H_ |
OLD | NEW |