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

Unified Diff: chrome/browser/signin/screenlock_bridge.h

Issue 585213002: [Easy signin] Wire up userClick auth attempt to easy unlock app and back (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@easy_signin_focused_user_changed_observer
Patch Set: fix screenlock private test Created 6 years, 3 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: 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() {}
};

Powered by Google App Engine
This is Rietveld 408576698