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

Unified Diff: ash/login/lock_screen_controller.h

Issue 2903353003: Adding mojo calls for easy unlock service (Closed)
Patch Set: comments and rebase 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
« no previous file with comments | « no previous file | ash/login/lock_screen_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/login/lock_screen_controller.h
diff --git a/ash/login/lock_screen_controller.h b/ash/login/lock_screen_controller.h
index 50bc9e526c9783507f1f3c0f0f778d70c6ebd2bb..6d01961d483f0df88742e287694a9feb4feb2b0e 100644
--- a/ash/login/lock_screen_controller.h
+++ b/ash/login/lock_screen_controller.h
@@ -33,8 +33,16 @@ class ASH_EXPORT LockScreenController
const std::string& help_link_text,
int32_t help_topic_id) override;
void ClearErrors() override;
+ void ShowUserPodCustomIcon(const AccountId& account_id,
+ mojom::UserPodCustomIconOptionsPtr icon) override;
+ void HideUserPodCustomIcon(const AccountId& account_id) override;
+ void SetAuthType(const AccountId& account_id,
+ mojom::AuthType auth_type,
+ const base::string16& initial_value) override;
+ void LoadUsers(std::unique_ptr<base::ListValue> users,
+ bool show_guest) override;
- // Wrappers around the mojom::SystemTrayClient interface.
+ // Wrappers around the mojom::LockScreenClient interface.
// Hash the password and send AuthenticateUser request to LockScreenClient.
// LockScreenClient(chrome) will do the authentication and request to show
// error messages in the lock screen if auth fails, or request to clear
@@ -42,6 +50,9 @@ class ASH_EXPORT LockScreenController
void AuthenticateUser(const AccountId& account_id,
const std::string& password,
bool authenticated_by_pin);
+ void AttemptUnlock(const AccountId& account_id);
+ void HardlockPod(const AccountId& account_id);
+ void RecordClickOnLockIcon(const AccountId& account_id);
private:
void DoAuthenticateUser(const AccountId& account_id,
« no previous file with comments | « no previous file | ash/login/lock_screen_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698