OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "components/copresence/handlers/audio/tick_clock_ref_counted.h" |
| 6 |
| 7 #include "base/time/tick_clock.h" |
| 8 |
| 9 namespace copresence { |
| 10 |
| 11 TickClockRefCounted::TickClockRefCounted(scoped_ptr<base::TickClock> clock) |
| 12 : clock_(clock.Pass()) { |
| 13 } |
| 14 |
| 15 base::TimeTicks TickClockRefCounted::NowTicks() { |
| 16 return clock_->NowTicks(); |
| 17 } |
| 18 |
| 19 TickClockRefCounted::~TickClockRefCounted() { |
| 20 } |
| 21 |
| 22 } // namespace copresence |
OLD | NEW |