commit | cadfbdd9f3c15964c9f81a288c01dfe179e189c6 | [log] [tgz] |
---|---|---|
author | Yuwei Huang <yuweih@chromium.org> | Wed Feb 12 22:06:11 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Feb 12 22:06:11 2025 |
tree | 32d243a7ae83acea502def37ecc1fc8e8611ffa5 | |
parent | 9fbbb75b240544cd6fc4c6ea08141081e33bb71c [diff] |
[crd it2me host] Rewrite NAT policy reporting logic This CL rewrites the NAT policy reporting logic and makes it work with the remote session policies. The current code disconnects IT2ME whenever the STUN or relay policy becomes disabled. However, ClientSession already disconnects the connection whenever the effective session policies are changed, so this logic isn't very useful. It will disconnect IT2ME before the kConnected state, but that doesn't seem to be helpful either. It might be implemented before session policies are bound to individual client sessions. It's a pain to fix this logic and get it to work with remote session policies, so I just remove it in this CL. I've also made it so that the policies are only reported if they are actually changed, since otherwise the website would see another natPolicyChange message when the effective session policies were received. Bug: 385009007 Change-Id: I5a7fae22c5d528caabe5448846ace72377aa3da8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6256721 Reviewed-by: Joe Downing <joedow@chromium.org> Commit-Queue: Yuwei Huang <yuweih@chromium.org> Cr-Commit-Position: refs/heads/main@{#1419543}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.