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

Unified Diff: components/cryptauth/remote_device_loader.h

Issue 2897843002: Revert of [EasyUnlock] Add beacon_seeds to RemoteDevice. (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « components/cryptauth/remote_device.cc ('k') | components/cryptauth/remote_device_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cryptauth/remote_device_loader.h
diff --git a/components/cryptauth/remote_device_loader.h b/components/cryptauth/remote_device_loader.h
index 155645dd85b85bc7fa5edc4ed48b5c3f523bbebc..5ef63945eecf5c0105831d098d043fa82704c224 100644
--- a/components/cryptauth/remote_device_loader.h
+++ b/components/cryptauth/remote_device_loader.h
@@ -62,21 +62,15 @@
virtual ~RemoteDeviceLoader();
// Loads the RemoteDevice objects. |callback| will be invoked upon completion.
- // For space considerations, BeaconSeeds will only be loaded if
- // |should_load_beacon_seeds| is true.
typedef base::Callback<void(const cryptauth::RemoteDeviceList&)>
RemoteDeviceCallback;
- virtual void Load(bool should_load_beacon_seeds,
- const RemoteDeviceCallback& callback);
+ virtual void Load(const RemoteDeviceCallback& callback);
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_;
« no previous file with comments | « components/cryptauth/remote_device.cc ('k') | components/cryptauth/remote_device_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698