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

Unified Diff: webrtc/base/test/faketiming.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/base_tests.gyp ('k') | webrtc/base/timeutils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/test/faketiming.h
diff --git a/webrtc/base/test/faketiming.h b/webrtc/base/test/faketiming.h
deleted file mode 100644
index 388a535d9ced0b535c4ac768ca419ad664fc90dd..0000000000000000000000000000000000000000
--- a/webrtc/base/test/faketiming.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Copyright 2016 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_TEST_FAKETIMING_H_
-#define WEBRTC_BASE_TEST_FAKETIMING_H_
-
-#include "webrtc/base/timing.h"
-#include "webrtc/base/timeutils.h"
-
-namespace rtc {
-
-class FakeTiming : public Timing {
- public:
- // Starts at Jan 1, 1983 (UTC).
- FakeTiming() : now_(410227200.0) {}
- double TimerNow() override { return now_; }
- void AdvanceTimeSecs(double seconds) { now_ += seconds; }
- void AdvanceTimeMillisecs(double ms) { now_ += (ms / kNumMillisecsPerSec); }
-
- private:
- double now_;
-};
-
-} // namespace rtc
-
-#endif // WEBRTC_BASE_TEST_FAKETIMING_H_
« no previous file with comments | « webrtc/base/base_tests.gyp ('k') | webrtc/base/timeutils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698