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 #if defined(WEBRTC_POSIX) | 11 #if defined(WEBRTC_POSIX) |
12 #include <sys/file.h> | 12 #include <sys/file.h> |
13 #endif // WEBRTC_POSIX | 13 #endif // WEBRTC_POSIX |
14 #include <sys/types.h> | 14 #include <sys/types.h> |
15 #include <sys/stat.h> | 15 #include <sys/stat.h> |
16 #include <errno.h> | 16 #include <errno.h> |
17 | 17 |
18 #include <algorithm> | 18 #include <algorithm> |
19 #include <string> | 19 #include <string> |
20 | 20 |
21 #include "webrtc/rtc_base/basictypes.h" | 21 #include "webrtc/base/basictypes.h" |
22 #include "webrtc/rtc_base/checks.h" | 22 #include "webrtc/base/checks.h" |
23 #include "webrtc/rtc_base/logging.h" | 23 #include "webrtc/base/logging.h" |
24 #include "webrtc/rtc_base/messagequeue.h" | 24 #include "webrtc/base/messagequeue.h" |
25 #include "webrtc/rtc_base/stream.h" | 25 #include "webrtc/base/stream.h" |
26 #include "webrtc/rtc_base/stringencode.h" | 26 #include "webrtc/base/stringencode.h" |
27 #include "webrtc/rtc_base/stringutils.h" | 27 #include "webrtc/base/stringutils.h" |
28 #include "webrtc/rtc_base/thread.h" | 28 #include "webrtc/base/thread.h" |
29 #include "webrtc/rtc_base/timeutils.h" | 29 #include "webrtc/base/timeutils.h" |
30 | 30 |
31 #if defined(WEBRTC_WIN) | 31 #if defined(WEBRTC_WIN) |
32 #include "webrtc/rtc_base/win32.h" | 32 #include "webrtc/base/win32.h" |
33 #define fileno _fileno | 33 #define fileno _fileno |
34 #endif | 34 #endif |
35 | 35 |
36 namespace rtc { | 36 namespace rtc { |
37 | 37 |
38 /////////////////////////////////////////////////////////////////////////////// | 38 /////////////////////////////////////////////////////////////////////////////// |
39 // StreamInterface | 39 // StreamInterface |
40 /////////////////////////////////////////////////////////////////////////////// | 40 /////////////////////////////////////////////////////////////////////////////// |
41 StreamInterface::~StreamInterface() { | 41 StreamInterface::~StreamInterface() { |
42 } | 42 } |
(...skipping 1071 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1114 | 1114 |
1115 if (data_len) { | 1115 if (data_len) { |
1116 *data_len = 0; | 1116 *data_len = 0; |
1117 } | 1117 } |
1118 return SR_SUCCESS; | 1118 return SR_SUCCESS; |
1119 } | 1119 } |
1120 | 1120 |
1121 /////////////////////////////////////////////////////////////////////////////// | 1121 /////////////////////////////////////////////////////////////////////////////// |
1122 | 1122 |
1123 } // namespace rtc | 1123 } // namespace rtc |
OLD | NEW |