| 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_STREAM_H_ | 11 #ifndef WEBRTC_BASE_STREAM_H_ |
| 12 #define WEBRTC_BASE_STREAM_H_ | 12 #define WEBRTC_BASE_STREAM_H_ |
| 13 | 13 |
| 14 #include <memory> | |
| 15 #include <stdio.h> | 14 #include <stdio.h> |
| 16 | 15 |
| 17 #include "webrtc/base/basictypes.h" | 16 #include <memory> |
| 17 |
| 18 #include "webrtc/base/buffer.h" | 18 #include "webrtc/base/buffer.h" |
| 19 #include "webrtc/base/constructormagic.h" | 19 #include "webrtc/base/constructormagic.h" |
| 20 #include "webrtc/base/criticalsection.h" | 20 #include "webrtc/base/criticalsection.h" |
| 21 #include "webrtc/base/logging.h" | 21 #include "webrtc/base/logging.h" |
| 22 #include "webrtc/base/messagehandler.h" | 22 #include "webrtc/base/messagehandler.h" |
| 23 #include "webrtc/base/messagequeue.h" | 23 #include "webrtc/base/messagequeue.h" |
| 24 #include "webrtc/base/sigslot.h" | 24 #include "webrtc/base/sigslot.h" |
| 25 | 25 |
| 26 namespace rtc { | 26 namespace rtc { |
| 27 | 27 |
| (...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 704 // as a pass in parameter, it indicates data in buffer that should move to sink | 704 // as a pass in parameter, it indicates data in buffer that should move to sink |
| 705 StreamResult Flow(StreamInterface* source, | 705 StreamResult Flow(StreamInterface* source, |
| 706 char* buffer, size_t buffer_len, | 706 char* buffer, size_t buffer_len, |
| 707 StreamInterface* sink, size_t* data_len = NULL); | 707 StreamInterface* sink, size_t* data_len = NULL); |
| 708 | 708 |
| 709 /////////////////////////////////////////////////////////////////////////////// | 709 /////////////////////////////////////////////////////////////////////////////// |
| 710 | 710 |
| 711 } // namespace rtc | 711 } // namespace rtc |
| 712 | 712 |
| 713 #endif // WEBRTC_BASE_STREAM_H_ | 713 #endif // WEBRTC_BASE_STREAM_H_ |
| OLD | NEW |