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

Unified Diff: net/quic/quic_time.cc

Issue 968233004: Land Recent QUIC Changes until 03/02/2015. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cleanup
Patch Set: Created 5 years, 10 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/quic_stream_sequencer_test.cc ('k') | net/quic/quic_time_wait_list_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_time.cc
diff --git a/net/quic/quic_time.cc b/net/quic/quic_time.cc
index 5d653a35c87757ef6c716a2db74e79ccaf2b57ef..6d3155746fe445a172de09c81d50d8a642ef8af6 100644
--- a/net/quic/quic_time.cc
+++ b/net/quic/quic_time.cc
@@ -173,6 +173,7 @@ QuicWallTime QuicWallTime::Add(QuicTime::Delta delta) const {
return QuicWallTime(seconds);
}
+// TODO(ianswett) Test this.
QuicWallTime QuicWallTime::Subtract(QuicTime::Delta delta) const {
uint64 seconds = seconds_ - delta.ToSeconds();
if (seconds > seconds_) {
« no previous file with comments | « net/quic/quic_stream_sequencer_test.cc ('k') | net/quic/quic_time_wait_list_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698