commit | 46ba49c622d305dff756d4d228d9ec953a2aea4e | [log] [tgz] |
---|---|---|
author | henrik.lundin <henrik.lundin@webrtc.org> | Wed May 25 05:50:47 2016 |
committer | Commit bot <commit-bot@chromium.org> | Wed May 25 05:50:54 2016 |
tree | 85718265b47b15f417250fc639b3adfec50a8412 | |
parent | 1672ab271c09db4eafd0215a951f38fb1b0a298d [diff] |
Let PacketSource::NextPacket() return an std::unique_ptr The return type of PacketSource::NextPacket() is changed from a naked pointer to an std::uniqe_ptr. The interface contract was and still is that the ownership is passed from the callee to the caller, but a unique_ptr makes this explicit. BUG=webrtc:2692 Review-Url: https://codereview.webrtc.org/2005873002 Cr-Commit-Position: refs/heads/master@{#12884}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others. This page is maintained by the Google Chrome team.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.