Index: cc/proto/base_conversions.cc |
diff --git a/cc/proto/base_conversions.cc b/cc/proto/base_conversions.cc |
deleted file mode 100644 |
index 119903b2856db9ce8a1b68ab16fb8dd600357f21..0000000000000000000000000000000000000000 |
--- a/cc/proto/base_conversions.cc |
+++ /dev/null |
@@ -1,23 +0,0 @@ |
-// Copyright 2016 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#include "cc/proto/base_conversions.h" |
- |
-namespace base { |
-class TimeDelta; |
-} |
- |
-namespace cc { |
- |
-int64_t TimeTicksToProto(base::TimeTicks ticks) { |
- base::TimeDelta diff = ticks - base::TimeTicks::UnixEpoch(); |
- return diff.InMicroseconds(); |
-} |
- |
-CC_EXPORT base::TimeTicks ProtoToTimeTicks(int64_t ticks) { |
- base::TimeDelta diff = base::TimeDelta::FromMicroseconds(ticks); |
- return base::TimeTicks::UnixEpoch() + diff; |
-} |
- |
-} // namespace cc |