Add NetworkManager to PeerConnectionFactoryDependencies

Bug: webrtc:7447
Change-Id: I5abe1c4a15b52e9f15bb3ccbf1919c88000c9828
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/266361
Commit-Queue: Niels Moller <nisse@webrtc.org>
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#37284}
diff --git a/api/peer_connection_interface.h b/api/peer_connection_interface.h
index e5bbd9c..7d944f2 100644
--- a/api/peer_connection_interface.h
+++ b/api/peer_connection_interface.h
@@ -1433,6 +1433,9 @@
   // This will only be used if CreatePeerConnection is called without a
   // `port_allocator`, causing the default allocator and network manager to be
   // used.
+  std::unique_ptr<rtc::NetworkManager> network_manager;
+  // This will only be used if CreatePeerConnection is called without a
+  // `port_allocator`, and the above `network_manager' is null.
   std::unique_ptr<rtc::NetworkMonitorFactory> network_monitor_factory;
   std::unique_ptr<NetEqFactory> neteq_factory;
   std::unique_ptr<SctpTransportFactoryInterface> sctp_factory;