| Index: components/copresence/handlers/audio/tick_clock_ref_counted.h
|
| diff --git a/components/copresence/handlers/audio/tick_clock_ref_counted.h b/components/copresence/handlers/audio/tick_clock_ref_counted.h
|
| deleted file mode 100644
|
| index 45f8bcfe803c5823907b344330340256414f7be2..0000000000000000000000000000000000000000
|
| --- a/components/copresence/handlers/audio/tick_clock_ref_counted.h
|
| +++ /dev/null
|
| @@ -1,41 +0,0 @@
|
| -// 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.
|
| -
|
| -#ifndef COMPONENTS_COPRESENCE_HANDLERS_AUDIO_TICK_CLOCK_REF_COUNTED_H_
|
| -#define COMPONENTS_COPRESENCE_HANDLERS_AUDIO_TICK_CLOCK_REF_COUNTED_H_
|
| -
|
| -#include <memory>
|
| -
|
| -#include "base/macros.h"
|
| -#include "base/memory/ref_counted.h"
|
| -
|
| -namespace base {
|
| -class TickClock;
|
| -class TimeTicks;
|
| -}
|
| -
|
| -namespace copresence {
|
| -
|
| -class TickClockRefCounted
|
| - : public base::RefCountedThreadSafe<TickClockRefCounted> {
|
| - public:
|
| - explicit TickClockRefCounted(std::unique_ptr<base::TickClock> clock);
|
| -
|
| - // Takes ownership of the clock.
|
| - explicit TickClockRefCounted(base::TickClock* clock);
|
| -
|
| - base::TimeTicks NowTicks() const;
|
| -
|
| - private:
|
| - friend class base::RefCountedThreadSafe<TickClockRefCounted>;
|
| - virtual ~TickClockRefCounted();
|
| -
|
| - std::unique_ptr<base::TickClock> clock_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(TickClockRefCounted);
|
| -};
|
| -
|
| -} // namespace copresence
|
| -
|
| -#endif // COMPONENTS_COPRESENCE_HANDLERS_AUDIO_TICK_CLOCK_REF_COUNTED_H_
|
|
|