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

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

Issue 1209193003: [Proximity Auth] Create one ProximityAuthClient per profile, rather than one global one. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disable tests on non-ChromeOS, since there's nothing left to test on the other platforms 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
« no previous file with comments | « chrome/browser/signin/easy_unlock_service.h ('k') | chrome/browser/signin/proximity_auth_facade.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/signin/easy_unlock_service.cc
diff --git a/chrome/browser/signin/easy_unlock_service.cc b/chrome/browser/signin/easy_unlock_service.cc
index 37a3ed0ffe9b8beb2ee5d6d72dbecde8e51d9303..43e652be343846f6207043e9a7ac16cbcf2a39b1 100644
--- a/chrome/browser/signin/easy_unlock_service.cc
+++ b/chrome/browser/signin/easy_unlock_service.cc
@@ -260,6 +260,7 @@ class EasyUnlockService::PowerMonitor
EasyUnlockService::EasyUnlockService(Profile* profile)
: profile_(profile),
+ proximity_auth_client_(profile),
bluetooth_detector_(new BluetoothDetector(this)),
shut_down_(false),
tpm_key_checked_(false),
@@ -694,7 +695,7 @@ void EasyUnlockService::UpdateAppState() {
!proximity_auth_ble_system_) {
proximity_auth_ble_system_.reset(
new proximity_auth::ProximityAuthBleSystem(
- GetScreenlockBridgeInstance(), profile_,
+ GetScreenlockBridgeInstance(), &proximity_auth_client_,
CreateCryptAuthClientFactory()));
}
« no previous file with comments | « chrome/browser/signin/easy_unlock_service.h ('k') | chrome/browser/signin/proximity_auth_facade.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698