Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(919)

Unified Diff: net/quic/quic_bandwidth.h

Issue 1809123002: Pass QuicTime, QuicTime::Delta, and QuicBandwidth exclusively by value. Not flag protected. No func… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@116970314
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/congestion_control/loss_detection_interface.h ('k') | net/quic/quic_bandwidth.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_bandwidth.h
diff --git a/net/quic/quic_bandwidth.h b/net/quic/quic_bandwidth.h
index 8c092beeeda97f11387b931fd43495eec74123c1..215ee25fc04d80b9b53ac88aca6262ccc1f66e41 100644
--- a/net/quic/quic_bandwidth.h
+++ b/net/quic/quic_bandwidth.h
@@ -52,9 +52,9 @@ class NET_EXPORT_PRIVATE QuicBandwidth {
bool IsZero() const;
- QuicBandwidth Add(const QuicBandwidth& delta) const WARN_UNUSED_RESULT;
+ QuicBandwidth Add(QuicBandwidth delta) const WARN_UNUSED_RESULT;
- QuicBandwidth Subtract(const QuicBandwidth& delta) const WARN_UNUSED_RESULT;
+ QuicBandwidth Subtract(QuicBandwidth delta) const WARN_UNUSED_RESULT;
QuicBandwidth Scale(float scale_factor) const WARN_UNUSED_RESULT;
« no previous file with comments | « net/quic/congestion_control/loss_detection_interface.h ('k') | net/quic/quic_bandwidth.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698