Chromium Code Reviews| Index: components/cryptauth/remote_device.h |
| diff --git a/components/cryptauth/remote_device.h b/components/cryptauth/remote_device.h |
| index b3f2b51eb18be35a8b220c863c74ad217a38b035..e12206a2cdc5ae59ad06989d035ea1768d2acf9e 100644 |
| --- a/components/cryptauth/remote_device.h |
| +++ b/components/cryptauth/remote_device.h |
| @@ -8,6 +8,8 @@ |
| #include <string> |
| #include <vector> |
| +#include "components/cryptauth/proto/cryptauth_api.pb.h" |
| + |
| namespace cryptauth { |
| struct RemoteDevice { |
|
Kyle Horimoto
2017/05/04 03:52:51
Please store a boolean (maybe call it has_fetched_
Tim Song
2017/05/06 22:53:16
I think this is problematic because this struct is
Ryan Hansberry
2017/05/09 02:32:19
Re: "Anyone can change the beacon_seeds but forget
Tim Song
2017/05/10 21:58:08
The biggest problem still is that it's not really
Ryan Hansberry
2017/05/15 15:43:34
I'm inclined to agree that operator== isn't really
|
| @@ -19,6 +21,10 @@ struct RemoteDevice { |
| std::string persistent_symmetric_key; |
| std::string sign_in_challenge; |
| + // Note: To save space, the BeaconSeeds may not necessarily be included in |
| + // this object. |
| + std::vector<BeaconSeed> beacon_seeds; |
| + |
| RemoteDevice(); |
| RemoteDevice(const std::string& user_id, |
| const std::string& name, |