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

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

Issue 1239193005: [Proximity Auth] Port the UnlockManager class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix destruction order in tests on ChromeOS Created 5 years, 4 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 | « components/proximity_auth/DEPS ('k') | components/proximity_auth/controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e178a0bbfc9a96a6f960a2a6c5872cfe84db6180..79fd6ef8f10b11c97486c66babf22e243b4cd930 100644
--- a/components/proximity_auth/ble/proximity_auth_ble_system_unittest.cc
+++ b/components/proximity_auth/ble/proximity_auth_ble_system_unittest.cc
@@ -71,7 +71,10 @@ class MockProximityAuthClient : public ProximityAuthClient {
// ProximityAuthClient:
std::string GetAuthenticatedUsername() const override { return kTestUser; }
- MOCK_METHOD1(FinalizeUnlock, void(bool));
+ MOCK_METHOD1(UpdateScreenlockState,
+ void(proximity_auth::ScreenlockState state));
+ MOCK_METHOD1(FinalizeUnlock, void(bool success));
+ MOCK_METHOD1(FinalizeSignin, void(const std::string& secret));
private:
DISALLOW_COPY_AND_ASSIGN(MockProximityAuthClient);
« no previous file with comments | « components/proximity_auth/DEPS ('k') | components/proximity_auth/controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698