commit | 04ad566fb627ac8ae9cce00f52a124563f774058 | [log] [tgz] |
---|---|---|
author | Giovanni Ortuño Urquidi <ortuno@chromium.org> | Tue Aug 12 14:08:23 2025 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 13 17:01:41 2025 |
tree | f9bcfd0a2dc938ec0c00910388bdd1ffca7fb9b7 | |
parent | dec6b34b86d4c5efea9ae89b0a638180874268a8 [diff] |
LNA: Introduce LnaPermissionInterface::ShouldRequestPermission() Before this CL there was only one method RequestPermission which performed some synchronous checks e.g. if the address space was less public, and if necessary asynchronously requested the LNA permission. This CL introduces ShouldRequestPermission that only performs the synchronous part of the check. This allows us to centralize the logic for permission checking into the embedder and more importantly, allows us to avoid having to post a task for cases where it's not necessary to request a permission. Blink change: https://crrev.com/c/6794524 Bug: chromium:421223919 Change-Id: I8edb06f7b604eaae76e5230d404dd19c02d0e24b Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/402460 Commit-Queue: Giovanni Ortuno Urquidi <ortuno@chromium.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org> Reviewed-by: Jonas Oreland <jonaso@webrtc.org> Cr-Commit-Position: refs/heads/main@{#45335}
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.