Chromium Code Reviews| Index: chrome/browser/chromeos/login/screen_locker.h |
| diff --git a/chrome/browser/chromeos/login/screen_locker.h b/chrome/browser/chromeos/login/screen_locker.h |
| index d2dbcd5c348e9dc6a83efbc8fbb05aecbc1fd10a..183e25d7bf71bd99a57fbd8ac4287431ced638de 100644 |
| --- a/chrome/browser/chromeos/login/screen_locker.h |
| +++ b/chrome/browser/chromeos/login/screen_locker.h |
| @@ -13,7 +13,9 @@ |
| #include "base/memory/weak_ptr.h" |
| #include "base/sequenced_task_runner_helpers.h" |
| #include "base/time/time.h" |
| +#include "chrome/browser/chromeos/extensions/screenlock_private_api.h" |
|
xiyuan
2014/02/16 18:38:14
nit: Is this needed?
Tim Song
2014/02/18 23:32:44
Done.
|
| #include "chrome/browser/chromeos/login/help_app_launcher.h" |
| +#include "chrome/browser/chromeos/login/login_display.h" |
| #include "chrome/browser/chromeos/login/login_status_consumer.h" |
| #include "chrome/browser/chromeos/login/screen_locker_delegate.h" |
| #include "chrome/browser/chromeos/login/user.h" |
| @@ -89,6 +91,17 @@ class ScreenLocker : public LoginStatusConsumer { |
| const gfx::Image& icon, |
| const base::Closure& click_callback); |
| + // Hides the user pod button for a user. |
| + void HideUserPodButton(const std::string& username); |
| + |
| + // Set the authentication type to be used on the lock screen. |
| + void SetAuthType(const std::string& username, |
| + LoginDisplay::AuthType auth_type, |
| + const std::string& initial_value); |
| + |
| + // Returns the authentication type used for |username|. |
| + LoginDisplay::AuthType GetAuthType(const std::string& username) const; |
| + |
| // 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. |