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

Unified Diff: components/proximity_auth/remote_device_life_cycle.h

Issue 2845433003: [EasyUnlock] Update ProximityMonitor to only check for RSSI proximity. (Closed)
Patch Set: [EasyUnlock] Update ProximityMonitor to only check for RSSI proximity. 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.h
diff --git a/components/proximity_auth/remote_device_life_cycle.h b/components/proximity_auth/remote_device_life_cycle.h
index ed7f4c6d6b94c585bd69223c12ded4708b931165..2990e95b8f853ac99cfaed1d9d9555e522fd27f1 100644
--- a/components/proximity_auth/remote_device_life_cycle.h
+++ b/components/proximity_auth/remote_device_life_cycle.h
@@ -6,6 +6,7 @@
#define COMPONENTS_PROXIMITY_AUTH_REMOTE_DEVICE_LIFE_CYCLE_H
#include "base/macros.h"
+#include "components/cryptauth/connection.h"
#include "components/cryptauth/remote_device.h"
namespace proximity_auth {
@@ -57,6 +58,9 @@ class RemoteDeviceLifeCycle {
// Returns the RemoteDevice instance that this life cycle manages.
virtual cryptauth::RemoteDevice GetRemoteDevice() const = 0;
+ // Returns the current Connection, or null if the device is not yet connected.
+ virtual cryptauth::Connection* GetConnection() const = 0;
+
// Returns the current state of in the life cycle.
virtual State GetState() const = 0;

Powered by Google App Engine
This is Rietveld 408576698