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

Unified Diff: chrome/browser/chromeos/login/screen_locker_delegate.h

Issue 168813002: Refactor user pods to use authType property for distinct authentication modes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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/chromeos/login/screen_locker_delegate.h
diff --git a/chrome/browser/chromeos/login/screen_locker_delegate.h b/chrome/browser/chromeos/login/screen_locker_delegate.h
index d26928a250f1e02b476a73dc6afb1db2c7e654e1..3d7a2d27e3daf8a1f2906cb3def8f361c46b9009 100644
--- a/chrome/browser/chromeos/login/screen_locker_delegate.h
+++ b/chrome/browser/chromeos/login/screen_locker_delegate.h
@@ -8,6 +8,7 @@
#include "base/callback_forward.h"
#include "base/strings/string16.h"
#include "chrome/browser/chromeos/login/help_app_launcher.h"
+#include "chrome/browser/chromeos/login/login_display.h"
#include "ui/gfx/native_widget_types.h"
class GURL;
@@ -52,6 +53,18 @@ class ScreenLockerDelegate {
const std::string& iconURL,
const base::Closure& click_callback) = 0;
+ // Hides the user pod button for a user.
+ virtual void HideUserPodButton(const std::string& username) = 0;
+
+ // Set the authentication type to be used on the lock screen.
+ virtual void SetAuthType(const std::string& username,
+ LoginDisplay::AuthType auth_type,
+ const std::string& initial_value) = 0;
+
+ // Returns the authentication type used for |username|.
+ virtual LoginDisplay::AuthType GetAuthType(const std::string& username)
+ const = 0;
+
// Disables all UI needed and shows error bubble with |message|.
// If |sign_out_only| is true then all other input except "Sign Out"
// button is blocked.

Powered by Google App Engine
This is Rietveld 408576698