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

Unified Diff: cc/proto/base_conversions.cc

Issue 2646623002: cc: Remove all blimp code from cc. (Closed)
Patch Set: test build Created 3 years, 11 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 | « cc/proto/base_conversions.h ('k') | cc/proto/base_conversions_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « cc/proto/base_conversions.h ('k') | cc/proto/base_conversions_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698