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

Side by Side Diff: net/quic/core/quic_time.h

Issue 2193073003: Move shared files in net/quic/ into net/quic/core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: io_thread_unittest.cc Created 4 years, 4 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 unified diff | Download patch
« no previous file with comments | « net/quic/core/quic_sustained_bandwidth_recorder_test.cc ('k') | net/quic/core/quic_time.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 // QuicTime represents one point in time, stored in microsecond resolution. 5 // QuicTime represents one point in time, stored in microsecond resolution.
6 // QuicTime is monotonically increasing, even across system clock adjustments. 6 // QuicTime is monotonically increasing, even across system clock adjustments.
7 // The epoch (time 0) of QuicTime is unspecified. 7 // The epoch (time 0) of QuicTime is unspecified.
8 // 8 //
9 // This implementation wraps the classes base::TimeTicks and base::TimeDelta. 9 // This implementation wraps the classes base::TimeTicks and base::TimeDelta.
10 10
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 inline QuicTime operator-(QuicTime lhs, QuicTime::Delta rhs) { 259 inline QuicTime operator-(QuicTime lhs, QuicTime::Delta rhs) {
260 return QuicTime(lhs.time_ - rhs.time_offset_); 260 return QuicTime(lhs.time_ - rhs.time_offset_);
261 } 261 }
262 inline QuicTime::Delta operator-(QuicTime lhs, QuicTime rhs) { 262 inline QuicTime::Delta operator-(QuicTime lhs, QuicTime rhs) {
263 return QuicTime::Delta(lhs.time_ - rhs.time_); 263 return QuicTime::Delta(lhs.time_ - rhs.time_);
264 } 264 }
265 265
266 } // namespace net 266 } // namespace net
267 267
268 #endif // NET_QUIC_QUIC_TIME_H_ 268 #endif // NET_QUIC_QUIC_TIME_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_sustained_bandwidth_recorder_test.cc ('k') | net/quic/core/quic_time.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698