commit | c848268ab176c66004275454b4ec3eca922e8e99 | [log] [tgz] |
---|---|---|
author | Tommi <tommi@webrtc.org> | Thu Mar 23 21:20:39 2023 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Mar 24 07:44:18 2023 |
tree | 5493fd8d3594d2eeb2543ede04e703f81651d47f | |
parent | ec8b84b74091f136f9d18dfb8d61c5b7399b2142 [diff] |
Use SequenceChecker(SequenceChecker::kDetached) in a few places. This CL is partly a test to see if there's an impact on binary size: - Not a big difference for binaries (decrease): -776b to -4Kb - For libraries (libwebrtc.a) it actually increases the size: +40Kb Secondarily this CL is basically to introduce this pattern to the code base. In terms of LOC, this makes things slightly more compact. From: class Foo { public: Foo() { checker_.Detach(); } private: SequenceChecker checker_; }; To: class Foo { public: Foo() = default; private: SequenceChecker checker_{SequenceChecker::kDetached}; }; Bug: none Change-Id: I59fc34ccea10847e13455a349851ce9a0af458e3 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/299020 Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/main@{#39664}
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 here for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.