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

Unified Diff: components/proximity_auth/remote_device_life_cycle_impl.h

Issue 2900253005: BLE advertiser
Patch Set: Created 3 years, 7 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 4df19731a7ddd4282dcacda664f50fe38f93c0fc..07535e5f7cb92490eab5d3656b6dc53ebceea947 100644
--- a/components/proximity_auth/remote_device_life_cycle_impl.h
+++ b/components/proximity_auth/remote_device_life_cycle_impl.h
@@ -25,6 +25,7 @@ class SecureContext;
namespace proximity_auth {
+class BluetoothLowEnergyAdvertiser;
class Messenger;
class ProximityAuthClient;
@@ -118,6 +119,8 @@ class RemoteDeviceLifeCycleImpl : public RemoteDeviceLifeCycle,
// retrying the connection.
base::OneShotTimer authentication_recovery_timer_;
+ std::unique_ptr<BluetoothLowEnergyAdvertiser> advertiser_;
+
base::WeakPtrFactory<RemoteDeviceLifeCycleImpl> weak_ptr_factory_;
DISALLOW_COPY_AND_ASSIGN(RemoteDeviceLifeCycleImpl);

Powered by Google App Engine
This is Rietveld 408576698