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

Unified Diff: components/proximity_auth/unlock_manager_unittest.cc

Issue 1494153002: This CL replaces e-mail with AccountId in easy signin code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Bugfix in original easy unlock code' Created 5 years 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/unlock_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/proximity_auth/unlock_manager_unittest.cc
diff --git a/components/proximity_auth/unlock_manager_unittest.cc b/components/proximity_auth/unlock_manager_unittest.cc
index 2bb786c7c85cdad866f346421691780b8bbc4a92..d6b3383f1f5efe5eaaabb316b4d5d70d56a0a4c2 100644
--- a/components/proximity_auth/unlock_manager_unittest.cc
+++ b/components/proximity_auth/unlock_manager_unittest.cc
@@ -114,19 +114,19 @@ class FakeLockHandler : public ScreenlockBridge::LockHandler {
// LockHandler:
void ShowBannerMessage(const base::string16& message) override {}
void ShowUserPodCustomIcon(
- const std::string& user_email,
+ const AccountId& account_id,
const ScreenlockBridge::UserPodCustomIconOptions& icon) override {}
- void HideUserPodCustomIcon(const std::string& user_email) override {}
+ void HideUserPodCustomIcon(const AccountId& account_id) override {}
void EnableInput() override {}
- void SetAuthType(const std::string& user_email,
+ void SetAuthType(const AccountId& account_id,
AuthType auth_type,
const base::string16& auth_value) override {}
- AuthType GetAuthType(const std::string& user_email) const override {
+ AuthType GetAuthType(const AccountId& account_id) const override {
return USER_CLICK;
}
ScreenType GetScreenType() const override { return LOCK_SCREEN; }
- void Unlock(const std::string& user_email) override {}
- void AttemptEasySignin(const std::string& user_email,
+ void Unlock(const AccountId& account_id) override {}
+ void AttemptEasySignin(const AccountId& account_id,
const std::string& secret,
const std::string& key_label) override {}
« no previous file with comments | « components/proximity_auth/unlock_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698