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_THREAD_H_ | 11 #ifndef WEBRTC_BASE_THREAD_H_ |
12 #define WEBRTC_BASE_THREAD_H_ | 12 #define WEBRTC_BASE_THREAD_H_ |
13 | 13 |
14 #include <algorithm> | 14 #include <algorithm> |
15 #include <list> | 15 #include <list> |
| 16 #include <memory> |
16 #include <string> | 17 #include <string> |
17 #include <vector> | 18 #include <vector> |
18 | 19 |
19 #if defined(WEBRTC_POSIX) | 20 #if defined(WEBRTC_POSIX) |
20 #include <pthread.h> | 21 #include <pthread.h> |
21 #endif | 22 #endif |
22 #include "webrtc/base/constructormagic.h" | 23 #include "webrtc/base/constructormagic.h" |
23 #include "webrtc/base/event.h" | 24 #include "webrtc/base/event.h" |
24 #include "webrtc/base/messagequeue.h" | 25 #include "webrtc/base/messagequeue.h" |
25 | 26 |
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
326 | 327 |
327 private: | 328 private: |
328 SocketServer* old_ss_; | 329 SocketServer* old_ss_; |
329 | 330 |
330 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(SocketServerScope); | 331 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(SocketServerScope); |
331 }; | 332 }; |
332 | 333 |
333 } // namespace rtc | 334 } // namespace rtc |
334 | 335 |
335 #endif // WEBRTC_BASE_THREAD_H_ | 336 #endif // WEBRTC_BASE_THREAD_H_ |
OLD | NEW |