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

Unified Diff: webrtc/system_wrappers/source/tick_util.cc

Issue 1888593004: Delete all use of tick_util.h. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Update Mac FullScreenChromeWindowDetector. Created 4 years, 8 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
Index: webrtc/system_wrappers/source/tick_util.cc
diff --git a/webrtc/system_wrappers/source/tick_util.cc b/webrtc/system_wrappers/source/tick_util.cc
index 0485e429211a114f48ebe6900a8c558850531f63..7b0d1747ae2daf116f63050f7ee0e3f66a33c5ad 100644
--- a/webrtc/system_wrappers/source/tick_util.cc
+++ b/webrtc/system_wrappers/source/tick_util.cc
@@ -8,35 +8,4 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#include "webrtc/system_wrappers/include/tick_util.h"
-
-#include "webrtc/base/timeutils.h"
-
-namespace webrtc {
-
-int64_t TickTime::MillisecondTimestamp() {
- return TicksToMilliseconds(TickTime::Now().Ticks());
-}
-
-int64_t TickTime::MicrosecondTimestamp() {
- return TicksToMicroseconds(TickTime::Now().Ticks());
-}
-
-int64_t TickTime::MillisecondsToTicks(const int64_t ms) {
- return ms * rtc::kNumNanosecsPerMillisec;
-}
-
-int64_t TickTime::TicksToMilliseconds(const int64_t ticks) {
- return ticks / rtc::kNumNanosecsPerMillisec;
-}
-
-int64_t TickTime::TicksToMicroseconds(const int64_t ticks) {
- return ticks / rtc::kNumNanosecsPerMicrosec;
-}
-
-// Gets the native system tick count, converted to nanoseconds.
-int64_t TickTime::QueryOsForTicks() {
- return rtc::TimeNanos();
-}
-
-} // namespace webrtc
+// TODO(nisse): Delete file. May need update of Chrome build files.

Powered by Google App Engine
This is Rietveld 408576698