Make disable_ipv6 ABSL_DEPRECATED.
// All tests pass, infra failure unrelated
NOTRY=True
Bug: webrtc:14608
Change-Id: Ie16dcf9dc66e687f0befef42c7d8e914696af191
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/280760
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Henrik Boström <hbos@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#38502}
diff --git a/api/peer_connection_interface.h b/api/peer_connection_interface.h
index 55300a5..f8689eb 100644
--- a/api/peer_connection_interface.h
+++ b/api/peer_connection_interface.h
@@ -428,7 +428,10 @@
// If set to true, don't gather IPv6 ICE candidates.
// TODO(https://crbug.com/webrtc/14608): Delete this flag.
- bool disable_ipv6 = false;
+ union {
+ bool DEPRECATED_disable_ipv6 = false;
+ bool ABSL_DEPRECATED("https://crbug.com/webrtc/14608") disable_ipv6;
+ };
// If set to true, don't gather IPv6 ICE candidates on Wi-Fi.
// Only intended to be used on specific devices. Certain phones disable IPv6