diff options
Diffstat (limited to 'modules/congestion_controller/network_control/test/network_ostream_operators.cc')
-rw-r--r-- | modules/congestion_controller/network_control/test/network_ostream_operators.cc | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/modules/congestion_controller/network_control/test/network_ostream_operators.cc b/modules/congestion_controller/network_control/test/network_ostream_operators.cc index 819628a557..353c3c8c58 100644 --- a/modules/congestion_controller/network_control/test/network_ostream_operators.cc +++ b/modules/congestion_controller/network_control/test/network_ostream_operators.cc @@ -9,8 +9,31 @@ */ #include "modules/congestion_controller/network_control/test/network_ostream_operators.h" +#include "modules/congestion_controller/network_control/include/network_units_to_string.h" namespace webrtc { + +std::ostream& operator<<( // no-presubmit-check TODO(webrtc:8982) + std::ostream& os, // no-presubmit-check TODO(webrtc:8982) + const DataRate& value) { + return os << ToString(value); +} +std::ostream& operator<<( // no-presubmit-check TODO(webrtc:8982) + std::ostream& os, // no-presubmit-check TODO(webrtc:8982) + const DataSize& value) { + return os << ToString(value); +} +std::ostream& operator<<( // no-presubmit-check TODO(webrtc:8982) + std::ostream& os, // no-presubmit-check TODO(webrtc:8982) + const Timestamp& value) { + return os << ToString(value); +} +std::ostream& operator<<( // no-presubmit-check TODO(webrtc:8982) + std::ostream& os, // no-presubmit-check TODO(webrtc:8982) + const TimeDelta& value) { + return os << ToString(value); +} + ::std::ostream& operator<<( // no-presubmit-check TODO(webrtc:8982) ::std::ostream& os, // no-presubmit-check TODO(webrtc:8982) const CongestionWindow& window) { |