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

Unified Diff: components/cryptauth/remote_device_loader.h

Issue 2859053003: [EasyUnlock] Add beacon_seeds to RemoteDevice. (Closed)
Patch Set: [EasyUnlock] Add beacon_seeds to RemoteDevice. 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/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_;

Powered by Google App Engine
This is Rietveld 408576698