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

Unified Diff: components/proximity_auth/ble/proximity_auth_ble_system_unittest.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: 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_unittest.cc
diff --git a/components/proximity_auth/ble/proximity_auth_ble_system_unittest.cc b/components/proximity_auth/ble/proximity_auth_ble_system_unittest.cc
index 61a563879b05a5bebd9aa36b95e2679b75619b72..b223e4aa4a4c8a7b9614b27c3e4253576b92f7ed 100644
--- a/components/proximity_auth/ble/proximity_auth_ble_system_unittest.cc
+++ b/components/proximity_auth/ble/proximity_auth_ble_system_unittest.cc
@@ -38,11 +38,11 @@ class ProximityAuthBleSystemTestable : public ProximityAuthBleSystem {
MOCK_METHOD1(AddObserver, void(ScreenlockBridge::Observer*));
MOCK_METHOD1(RemoveObserver, void(ScreenlockBridge::Observer*));
- MOCK_METHOD1(Unlock, void(content::BrowserContext*));
+ MOCK_METHOD1(Unlock, void(ProximityAuthClient*));
};
ProximityAuthBleSystemTestable(ScreenlockBridgeAdapter* screenlock_bridge)
- : ProximityAuthBleSystem(screenlock_bridge, nullptr) {}
+ : ProximityAuthBleSystem(make_scoped_ptr(screenlock_bridge), nullptr) {}
ConnectionFinder* CreateConnectionFinder() override {
return new NiceMock<MockConnectionFinder>();

Powered by Google App Engine
This is Rietveld 408576698