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

Unified Diff: components/proximity_auth/bluetooth_throttler_impl.cc

Issue 1912433002: Convert //components/proximity_auth from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 4 years, 8 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/proximity_auth/bluetooth_throttler_impl.cc
diff --git a/components/proximity_auth/bluetooth_throttler_impl.cc b/components/proximity_auth/bluetooth_throttler_impl.cc
index f9a54e230804dfb21228acac6dfa3a0b88004d18..7f6b10558970d598bc498962c2df7ad87b5a5e5c 100644
--- a/components/proximity_auth/bluetooth_throttler_impl.cc
+++ b/components/proximity_auth/bluetooth_throttler_impl.cc
@@ -19,7 +19,7 @@ const int kCooldownTimeSecs = 7;
} // namespace
BluetoothThrottlerImpl::BluetoothThrottlerImpl(
- scoped_ptr<base::TickClock> clock)
+ std::unique_ptr<base::TickClock> clock)
: clock_(std::move(clock)) {}
BluetoothThrottlerImpl::~BluetoothThrottlerImpl() {
« no previous file with comments | « components/proximity_auth/bluetooth_throttler_impl.h ('k') | components/proximity_auth/bluetooth_throttler_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698