Index: chrome/browser/ui/ash/lock_screen_client.h |
diff --git a/chrome/browser/ui/ash/lock_screen_client.h b/chrome/browser/ui/ash/lock_screen_client.h |
index 7e0d13434645794800f2e30328182bb5d3c1a232..9eab822c6bd5e1ad223c315f1b95daf6448dd02b 100644 |
--- a/chrome/browser/ui/ash/lock_screen_client.h |
+++ b/chrome/browser/ui/ash/lock_screen_client.h |
@@ -9,8 +9,8 @@ |
#include "base/macros.h" |
#include "mojo/public/cpp/bindings/binding.h" |
-// Handles method calls delegated back to chrome from ash. Also notifies ash of |
-// relevant state changes in chrome. |
+// Handles method calls sent from ash to chrome. Also sends messages from chrome |
+// to ash. |
class LockScreenClient : public ash::mojom::LockScreenClient { |
public: |
LockScreenClient(); |
@@ -21,9 +21,11 @@ class LockScreenClient : public ash::mojom::LockScreenClient { |
// ash::mojom::LockScreenClient: |
void AuthenticateUser(const AccountId& account_id, |
const std::string& hashed_password, |
- bool authenticated_by_pin) override; |
+ bool authenticated_by_pin, |
+ AuthenticateUserCallback callback) override; |
// Wrappers around the mojom::SystemTray interface. |
+ void ShowLockScreen(ash::mojom::LockScreen::ShowLockScreenCallback on_shown); |
void ShowErrorMessage(int32_t login_attempts, |
const std::string& error_text, |
const std::string& help_link_text, |