| 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;
|
|
|
|
|