| Index: components/cryptauth/remote_device.h
|
| diff --git a/components/cryptauth/remote_device.h b/components/cryptauth/remote_device.h
|
| index a484a2a62d7921b6aaaacc021c7939fffc645012..369bc7f64b6c2612655c7471ab559704361c3c59 100644
|
| --- a/components/cryptauth/remote_device.h
|
| +++ b/components/cryptauth/remote_device.h
|
| @@ -32,6 +32,14 @@ struct RemoteDevice {
|
| std::string sign_in_challenge);
|
| RemoteDevice(const RemoteDevice& other);
|
| ~RemoteDevice();
|
| +
|
| + // Returns a unique ID for the device.
|
| + std::string GetDeviceId();
|
| +
|
| + // Returns a shortened device ID for the purpose of concise logging (device
|
| + // IDs are often so long that logs are difficult to read). Note that this
|
| + // ID is not guaranteed to be unique, so it should only be used for log.
|
| + std::string GetTruncatedDeviceIdForLogs();
|
| };
|
|
|
| typedef std::vector<RemoteDevice> RemoteDeviceList;
|
|
|