| Index: net/quic/core/quic_bandwidth.h
|
| diff --git a/net/quic/core/quic_bandwidth.h b/net/quic/core/quic_bandwidth.h
|
| index 2d131d277ed826fb5e84327a0f239c1868c7de55..780c55c78085707fc57334f98254b5dfd68a33c2 100644
|
| --- a/net/quic/core/quic_bandwidth.h
|
| +++ b/net/quic/core/quic_bandwidth.h
|
| @@ -105,6 +105,12 @@ inline QuicBandwidth operator*(QuicBandwidth lhs, float rhs) {
|
| inline QuicBandwidth operator*(float lhs, QuicBandwidth rhs) {
|
| return rhs * lhs;
|
| }
|
| +inline QuicByteCount operator*(QuicBandwidth lhs, QuicTime::Delta rhs) {
|
| + return lhs.ToBytesPerPeriod(rhs);
|
| +}
|
| +inline QuicByteCount operator*(QuicTime::Delta lhs, QuicBandwidth rhs) {
|
| + return rhs * lhs;
|
| +}
|
|
|
| // Override stream output operator for gtest.
|
| inline std::ostream& operator<<(std::ostream& output,
|
|
|