OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "net/quic/quic_time.h" | 5 #include "net/quic/quic_time.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 | 8 |
9 namespace net { | 9 namespace net { |
10 | 10 |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 } | 114 } |
115 | 115 |
116 QuicTime QuicTime::Subtract(const Delta& delta) const { | 116 QuicTime QuicTime::Subtract(const Delta& delta) const { |
117 return QuicTime(ticks_ - delta.delta_); | 117 return QuicTime(ticks_ - delta.delta_); |
118 } | 118 } |
119 | 119 |
120 QuicTime::Delta QuicTime::Subtract(const QuicTime& other) const { | 120 QuicTime::Delta QuicTime::Subtract(const QuicTime& other) const { |
121 return QuicTime::Delta(ticks_ - other.ticks_); | 121 return QuicTime::Delta(ticks_ - other.ticks_); |
122 } | 122 } |
123 | 123 |
124 } // namespace gfe_quic | 124 } // namespace net |
OLD | NEW |