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

Unified Diff: webrtc/base/timing.h

Issue 2290203002: Delete Timing class, timing.h, and update all users. (Closed)
Patch Set: Fix copy-paste error in rtpdataengine.cc. Created 4 years, 3 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 | « webrtc/base/timeutils.cc ('k') | webrtc/base/timing.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/timing.h
diff --git a/webrtc/base/timing.h b/webrtc/base/timing.h
deleted file mode 100644
index a73c57d986c02b041e2f2b8413fb45b9461e7425..0000000000000000000000000000000000000000
--- a/webrtc/base/timing.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright 2008 The WebRTC Project Authors. All rights reserved.
- *
- * Use of this source code is governed by a BSD-style license
- * that can be found in the LICENSE file in the root of the source
- * tree. An additional intellectual property rights grant can be found
- * in the file PATENTS. All contributing project authors may
- * be found in the AUTHORS file in the root of the source tree.
- */
-
-#ifndef WEBRTC_BASE_TIMING_H_
-#define WEBRTC_BASE_TIMING_H_
-
-namespace rtc {
-
-// TODO(deadbeef): Remove this and use ClockInterface instead.
-class Timing {
- public:
- Timing();
- virtual ~Timing();
-
- // WallTimeNow() returns the current wall-clock time in seconds,
- // within 10 milliseconds resolution.
- // WallTimeNow is static and does not require a timer_handle_ on Windows.
- static double WallTimeNow();
-
- // TimerNow() is like WallTimeNow(), but is monotonically
- // increasing. It returns seconds in resolution of 10 microseconds
- // or better. Although timer and wall-clock time have the same
- // timing unit, they do not necessarily correlate because wall-clock
- // time may be adjusted backwards, hence not monotonic.
- // Made virtual so we can make a fake one.
- // TODO(tommi): The only place we use this (virtual) is in
- // rtpdata_engine_unittest.cc. See if it doesn't make more sense to change
- // that contract or test than to modify this generic class.
- virtual double TimerNow();
-};
-
-} // namespace rtc
-
-#endif // WEBRTC_BASE_TIMING_H_
« no previous file with comments | « webrtc/base/timeutils.cc ('k') | webrtc/base/timing.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698