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

Unified Diff: chrome/browser/ui/ash/lock_screen_client.h

Issue 2896093003: cros: Make sure views-based lock screen is destroyed after it is dismissed. (Closed)
Patch Set: Address comments Created 3 years, 6 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/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,

Powered by Google App Engine
This is Rietveld 408576698