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

Unified Diff: components/copresence/handlers/audio/tick_clock_ref_counted.cc

Issue 2130803002: Deleting the copresence API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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
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
deleted file mode 100644
index 1d052eb6362a594ebaffd160b441a1f887faa3cb..0000000000000000000000000000000000000000
--- a/components/copresence/handlers/audio/tick_clock_ref_counted.cc
+++ /dev/null
@@ -1,26 +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.
-
-#include "components/copresence/handlers/audio/tick_clock_ref_counted.h"
-
-#include <utility>
-
-#include "base/memory/ptr_util.h"
-#include "base/time/tick_clock.h"
-
-namespace copresence {
-
-TickClockRefCounted::TickClockRefCounted(std::unique_ptr<base::TickClock> clock)
- : clock_(std::move(clock)) {}
-
-TickClockRefCounted::TickClockRefCounted(base::TickClock* clock)
- : clock_(base::WrapUnique(clock)) {}
-
-base::TimeTicks TickClockRefCounted::NowTicks() const {
- return clock_->NowTicks();
-}
-
-TickClockRefCounted::~TickClockRefCounted() {}
-
-} // namespace copresence
« no previous file with comments | « components/copresence/handlers/audio/tick_clock_ref_counted.h ('k') | components/copresence/handlers/directive_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698