Index: chrome/browser/signin/screenlock_bridge.h |
diff --git a/chrome/browser/signin/screenlock_bridge.h b/chrome/browser/signin/screenlock_bridge.h |
index d732c0e147937944ac6a3556a2dffbfa9f13f48a..54167b4004f9d9a2d919a67171a535f4230d8548 100644 |
--- a/chrome/browser/signin/screenlock_bridge.h |
+++ b/chrome/browser/signin/screenlock_bridge.h |
@@ -21,6 +21,8 @@ class Profile; |
// ScreenlockBridge brings together the screenLockPrivate API and underlying |
// support. On ChromeOS, it delegates calls to the ScreenLocker. On other |
// platforms, it delegates calls to UserManagerUI (and friends). |
+// TODO(tbarzic): Rename ScreenlockBridge to SignInScreenBridge, as this is not |
+// used solely for the lock screen anymore. |
class ScreenlockBridge { |
public: |
class Observer { |
@@ -133,6 +135,11 @@ class ScreenlockBridge { |
// Unlock from easy unlock app for a user. |
virtual void Unlock(const std::string& user_email) = 0; |
+ // Attempts to login the user using an easy unlock key. |
+ virtual void AttemptEasySignin(const std::string& user_email, |
+ const std::string& secret, |
+ const std::string& key_label) = 0; |
+ |
protected: |
virtual ~LockHandler() {} |
}; |