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_MESSAGEQUEUE_H_ | 11 #ifndef WEBRTC_RTC_BASE_MESSAGEQUEUE_H_ |
12 #define WEBRTC_BASE_MESSAGEQUEUE_H_ | 12 #define WEBRTC_RTC_BASE_MESSAGEQUEUE_H_ |
13 | 13 |
14 #include <string.h> | 14 #include <string.h> |
15 | 15 |
16 #include <algorithm> | 16 #include <algorithm> |
17 #include <list> | 17 #include <list> |
18 #include <memory> | 18 #include <memory> |
19 #include <queue> | 19 #include <queue> |
20 #include <utility> | 20 #include <utility> |
21 #include <vector> | 21 #include <vector> |
22 | 22 |
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 // The SocketServer might not be owned by MessageQueue. | 317 // The SocketServer might not be owned by MessageQueue. |
318 SocketServer* const ss_; | 318 SocketServer* const ss_; |
319 // Used if SocketServer ownership lies with |this|. | 319 // Used if SocketServer ownership lies with |this|. |
320 std::unique_ptr<SocketServer> own_ss_; | 320 std::unique_ptr<SocketServer> own_ss_; |
321 | 321 |
322 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(MessageQueue); | 322 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(MessageQueue); |
323 }; | 323 }; |
324 | 324 |
325 } // namespace rtc | 325 } // namespace rtc |
326 | 326 |
327 #endif // WEBRTC_BASE_MESSAGEQUEUE_H_ | 327 #endif // WEBRTC_RTC_BASE_MESSAGEQUEUE_H_ |
OLD | NEW |