Comment fix for PeerConnectionFactoryDependencies::network_manager
Accidentally left out of
https://webrtc-review.googlesource.com/c/src/+/266361
Bug: webrtc:7447
Change-Id: Ic6696ec2e8d9b5139769ba2c53c819e25b6caba6
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/266365
Commit-Queue: Harald Alvestrand <hta@webrtc.org>
Auto-Submit: Niels Moller <nisse@webrtc.org>
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#37289}
diff --git a/api/peer_connection_interface.h b/api/peer_connection_interface.h
index 7d944f2..3e70855 100644
--- a/api/peer_connection_interface.h
+++ b/api/peer_connection_interface.h
@@ -1430,12 +1430,12 @@
std::unique_ptr<NetworkStatePredictorFactoryInterface>
network_state_predictor_factory;
std::unique_ptr<NetworkControllerFactoryInterface> network_controller_factory;
- // This will only be used if CreatePeerConnection is called without a
- // `port_allocator`, causing the default allocator and network manager to be
- // used.
+ // The `network_manager` 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.
+ // The `network_monitor_factory` 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;