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

Unified Diff: chrome/browser/signin/easy_unlock_service_signin_chromeos.cc

Issue 2560713002: Move RemoteDevice from //components/proximity_auth to //components/cryptauth so that it can be easi… (Closed)
Patch Set: Add cryptauth dependency. Created 4 years 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 | « chrome/browser/signin/easy_unlock_service_regular.cc ('k') | components/cryptauth/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/signin/easy_unlock_service_signin_chromeos.cc
diff --git a/chrome/browser/signin/easy_unlock_service_signin_chromeos.cc b/chrome/browser/signin/easy_unlock_service_signin_chromeos.cc
index 56786bcd29ba344fd27f680607a08fd72895883b..804f789231dc5290d36c81b2e8e96ed0619d0fad 100644
--- a/chrome/browser/signin/easy_unlock_service_signin_chromeos.cc
+++ b/chrome/browser/signin/easy_unlock_service_signin_chromeos.cc
@@ -428,7 +428,7 @@ void EasyUnlockServiceSignin::OnUserDataLoaded(
if (devices.empty())
return;
- proximity_auth::RemoteDeviceList remote_devices;
+ cryptauth::RemoteDeviceList remote_devices;
for (const auto& device : devices) {
std::string decoded_public_key, decoded_psk, decoded_challenge;
if (!base::Base64UrlDecode(device.public_key,
@@ -444,11 +444,11 @@ void EasyUnlockServiceSignin::OnUserDataLoaded(
<< device.public_key;
continue;
}
- proximity_auth::RemoteDevice::BluetoothType bluetooth_type =
+ cryptauth::RemoteDevice::BluetoothType bluetooth_type =
device.bluetooth_type == chromeos::EasyUnlockDeviceKeyData::BLUETOOTH_LE
- ? proximity_auth::RemoteDevice::BLUETOOTH_LE
- : proximity_auth::RemoteDevice::BLUETOOTH_CLASSIC;
- proximity_auth::RemoteDevice remote_device(
+ ? cryptauth::RemoteDevice::BLUETOOTH_LE
+ : cryptauth::RemoteDevice::BLUETOOTH_CLASSIC;
+ cryptauth::RemoteDevice remote_device(
account_id.GetUserEmail(), std::string(), decoded_public_key,
bluetooth_type, device.bluetooth_address, decoded_psk,
decoded_challenge);
« no previous file with comments | « chrome/browser/signin/easy_unlock_service_regular.cc ('k') | components/cryptauth/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698