Chromium Code Reviews| Index: components/cryptauth/remote_device_loader.h |
| diff --git a/components/cryptauth/remote_device_loader.h b/components/cryptauth/remote_device_loader.h |
| index 5ef63945eecf5c0105831d098d043fa82704c224..25463e446fd363552c99921a6d564a2517cac5bc 100644 |
| --- a/components/cryptauth/remote_device_loader.h |
| +++ b/components/cryptauth/remote_device_loader.h |
| @@ -66,12 +66,19 @@ class RemoteDeviceLoader { |
| RemoteDeviceCallback; |
| virtual void Load(const RemoteDeviceCallback& callback); |
|
Kyle Horimoto
2017/05/04 03:52:51
Can you pass |should_load_beacon_seeds| as a param
Tim Song
2017/05/06 22:53:16
Done.
|
| + void set_should_load_beacon_seeds(bool should_load_beacon_seeds) { |
| + should_load_beacon_seeds_ = should_load_beacon_seeds; |
| + } |
| + |
| private: |
| // Called when the PSK is derived for each device. If the PSKs for all devices |
| // have been derived, then we can invoke |callback_|. |
| void OnPSKDerived(const cryptauth::ExternalDeviceInfo& device, |
| const std::string& psk); |
| + // True if the loader should include BeaconSeeds in the loaded RemoteDevices. |
| + bool should_load_beacon_seeds_; |
| + |
| // The remaining devices whose PSK we're waiting on. |
| std::vector<cryptauth::ExternalDeviceInfo> remaining_devices_; |