commit | f3db00f8320fc71366e81c6cedc2636287c3e3d6 | [log] [tgz] |
---|---|---|
author | Mirko Bonadei <mbonadei@webrtc.org> | Mon Aug 23 15:39:58 2021 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Aug 23 16:53:05 2021 |
tree | e2327939d693f60011e535597e7539760e0b69f6 | |
parent | 524c789d99b9c6095e3530cffa90c0f8d2709052 [diff] |
Check field trials are valid in ScopedFieldTrials. This CL adds an RTC_CHECK in both ctor and dtor to ensure field trials are valid. Even if the check in the ctor is done already in debug mode, having it done always is fine because ScopedFieldTrials are testonly. The check in the dtor should catch issues like reverting to another ScopedFieldTrial which has already been destroyed. Bug: None Change-Id: I53a8680c3ff4fd0e2cbb3055af726a9023b45ac7 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/229861 Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Artem Titov <titovartem@webrtc.org> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/main@{#34828}
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.