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

Unified Diff: components/proximity_auth/remote_device_life_cycle_impl.h

Issue 2805113002: [CrOS Tether] Make BluetoothThrottler a singleton which can be easily shared between EasyUnlock and… (Closed)
Patch Set: Created 3 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/remote_device_life_cycle_impl.h
diff --git a/components/proximity_auth/remote_device_life_cycle_impl.h b/components/proximity_auth/remote_device_life_cycle_impl.h
index 38f227a778e355545ef76763ebd7fc547a9960cf..2bc827672e906f498b500226e4daf079854e3e38 100644
--- a/components/proximity_auth/remote_device_life_cycle_impl.h
+++ b/components/proximity_auth/remote_device_life_cycle_impl.h
@@ -111,7 +111,7 @@ class RemoteDeviceLifeCycleImpl : public RemoteDeviceLifeCycle,
// Rate limits Bluetooth connections to the same device. Used to in the
// created cryptauth::ConnectionFinder.
- std::unique_ptr<cryptauth::BluetoothThrottler> bluetooth_throttler_;
+ cryptauth::BluetoothThrottler* bluetooth_throttler_;
// After authentication fails, this timer waits for a period of time before
// retrying the connection.

Powered by Google App Engine
This is Rietveld 408576698