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

Unified Diff: components/proximity_auth/ble/proximity_auth_ble_system.cc

Issue 1165323004: We should use UserID object to identify users instead of username. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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/proximity_auth/ble/proximity_auth_ble_system.cc
diff --git a/components/proximity_auth/ble/proximity_auth_ble_system.cc b/components/proximity_auth/ble/proximity_auth_ble_system.cc
index e3e794c9338b41fc4ca0d374f41edc2a248c698b..e95292cd4ec9d75f1d18e8dba2c165371f516f29 100644
--- a/components/proximity_auth/ble/proximity_auth_ble_system.cc
+++ b/components/proximity_auth/ble/proximity_auth_ble_system.cc
@@ -77,8 +77,8 @@ void ProximityAuthBleSystem::OnScreenDidUnlock(
connection_finder_.reset();
};
-void ProximityAuthBleSystem::OnFocusedUserChanged(const std::string& user_id) {
- VLOG(1) << "OnFocusedUserChanged: " << user_id;
+void ProximityAuthBleSystem::OnFocusedUserChanged(const user_manager::UserID& user_id) {
+ VLOG(1) << "OnFocusedUserChanged: " << user_id.Serialize();
};
void ProximityAuthBleSystem::OnConnectionFound(

Powered by Google App Engine
This is Rietveld 408576698