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

Unified Diff: components/proximity_auth/webui/proximity_auth_webui_handler.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 | « components/proximity_auth/webui/proximity_auth_webui_handler.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/proximity_auth/webui/proximity_auth_webui_handler.cc
diff --git a/components/proximity_auth/webui/proximity_auth_webui_handler.cc b/components/proximity_auth/webui/proximity_auth_webui_handler.cc
index 8c69114445e202291b6552bf03a05bfbd7d76046..836cf0a9e07e504eed7b34c7192648b5e1469868 100644
--- a/components/proximity_auth/webui/proximity_auth_webui_handler.cc
+++ b/components/proximity_auth/webui/proximity_auth_webui_handler.cc
@@ -471,7 +471,7 @@ ProximityAuthWebUIHandler::GetUnlockKeysList() {
}
void ProximityAuthWebUIHandler::OnRemoteDevicesLoaded(
- const std::vector<RemoteDevice>& remote_devices) {
+ const std::vector<cryptauth::RemoteDevice>& remote_devices) {
if (remote_devices[0].persistent_symmetric_key.empty()) {
PA_LOG(ERROR) << "Failed to derive PSK.";
return;
@@ -571,7 +571,7 @@ void ProximityAuthWebUIHandler::CleanUpRemoteDeviceLifeCycle() {
PA_LOG(INFO) << "Cleaning up connection to " << selected_remote_device_.name
<< " [" << selected_remote_device_.bluetooth_address << "]";
life_cycle_.reset();
- selected_remote_device_ = RemoteDevice();
+ selected_remote_device_ = cryptauth::RemoteDevice();
last_remote_status_update_.reset();
web_ui()->CallJavascriptFunctionUnsafe(
"LocalStateInterface.onUnlockKeysChanged", *GetUnlockKeysList());
« no previous file with comments | « components/proximity_auth/webui/proximity_auth_webui_handler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698