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

Unified Diff: components/proximity_auth/proximity_monitor_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/proximity_monitor_impl.cc
diff --git a/components/proximity_auth/proximity_monitor_impl.cc b/components/proximity_auth/proximity_monitor_impl.cc
index 6114f4996e8d9c50fde8c6e1043eac66d7c05ac3..e6d8d7b2c01413eaae8acf6cdcec6508303b93ed 100644
--- a/components/proximity_auth/proximity_monitor_impl.cc
+++ b/components/proximity_auth/proximity_monitor_impl.cc
@@ -32,8 +32,9 @@ const int kRssiThreshold = -5;
// The weight of the most recent RSSI sample.
const double kRssiSampleWeight = 0.3;
-ProximityMonitorImpl::ProximityMonitorImpl(const RemoteDevice& remote_device,
- scoped_ptr<base::TickClock> clock)
+ProximityMonitorImpl::ProximityMonitorImpl(
+ const RemoteDevice& remote_device,
+ std::unique_ptr<base::TickClock> clock)
: remote_device_(remote_device),
strategy_(Strategy::NONE),
remote_device_is_in_proximity_(false),
« no previous file with comments | « components/proximity_auth/proximity_monitor_impl.h ('k') | components/proximity_auth/proximity_monitor_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698