Index: components/copresence/handlers/audio/tick_clock_ref_counted.cc |
diff --git a/components/copresence/handlers/audio/tick_clock_ref_counted.cc b/components/copresence/handlers/audio/tick_clock_ref_counted.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..791c1966dda69e21d8522bfcdaf9e04b642996b3 |
--- /dev/null |
+++ b/components/copresence/handlers/audio/tick_clock_ref_counted.cc |
@@ -0,0 +1,20 @@ |
+// Copyright 2014 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 "components/copresence/handlers/audio/tick_clock_ref_counted.h" |
+ |
+#include "base/time/tick_clock.h" |
+ |
+namespace copresence { |
+ |
+TickClockRefCounted::TickClockRefCounted(base::TickClock* clock) |
+ : clock_(clock) { |
+} |
+base::TimeTicks TickClockRefCounted::NowTicks() { |
+ return clock_->NowTicks(); |
+} |
+TickClockRefCounted::~TickClockRefCounted() { |
+} |
+ |
+} // namespace copresence |