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

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

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.h
diff --git a/components/proximity_auth/ble/proximity_auth_ble_system.h b/components/proximity_auth/ble/proximity_auth_ble_system.h
index aa0ac0a8e84b723913c343af5d20ea9db8bda726..75f062efeb866c7a92b63670c9b5dc26252eb417 100644
--- a/components/proximity_auth/ble/proximity_auth_ble_system.h
+++ b/components/proximity_auth/ble/proximity_auth_ble_system.h
@@ -17,6 +17,10 @@ namespace device {
class BluetoothGattConnection;
}
+namespace user_manager {
+class UserID;
+}
+
namespace proximity_auth {
class BluetoothLowEnergyConnection;
@@ -38,7 +42,7 @@ class ProximityAuthBleSystem : public ScreenlockBridge::Observer {
ScreenlockBridge::LockHandler::ScreenType screen_type) override;
void OnScreenDidUnlock(
ScreenlockBridge::LockHandler::ScreenType screen_type) override;
- void OnFocusedUserChanged(const std::string& user_id) override;
+ void OnFocusedUserChanged(const user_manager::UserID& user_id) override;
private:
// Handler for a new connection found event.

Powered by Google App Engine
This is Rietveld 408576698