commit | d6fb409d463dc3eb1f09dc4c6f879d15e5503ed0 | [log] [tgz] |
---|---|---|
author | Henrik Boström <hbos@webrtc.org> | Tue Feb 25 17:51:08 2020 +0100 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Feb 25 17:58:21 2020 +0000 |
tree | 12eaac9cc3cd0f765f5c945d26c63ae0bf0d2911 | |
parent | aa6fbc156e295320669267b4724466a7c9a0edba [diff] |
[Overuse] Make some should-be-const methods const. The fact that they weren't const is probably a remenant of the good ol' days this class being multi-threaded and having to acquire mutexes. Now they can properly be made const. In order to make GetConstAdaptCounter() const, this CL makes sure a cleared adapt_counters_ map contains mappings for all degradation preferences to default-constructed AdaptCounters. Previously, if the mapping was missing it was implicitly inserted by GetConstAdaptCounter(). Now it can DCHECK that mappings always exists instead, and it always has something to return. Bug: webrtc:11222 Change-Id: If33227fe6572eb1d6cc6b9f851d6d174d035c110 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/168953 Commit-Queue: Henrik Boström <hbos@webrtc.org> Reviewed-by: Evan Shrubsole <eshr@google.com> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30611}
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.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.