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

Unified Diff: ash/login/lock_screen_controller.cc

Issue 2923773003: Adding mojo calls for several lock screen related operations. (Closed)
Patch Set: clean up 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: ash/login/lock_screen_controller.cc
diff --git a/ash/login/lock_screen_controller.cc b/ash/login/lock_screen_controller.cc
index 8b99e6fd7acf0d3f385745d9db2b6a8723ecf888..cabe080998360458d96770a6fd83568bf847ae43 100644
--- a/ash/login/lock_screen_controller.cc
+++ b/ash/login/lock_screen_controller.cc
@@ -53,6 +53,11 @@ void LockScreenController::LoadUsers(std::unique_ptr<base::ListValue> users,
NOTIMPLEMENTED();
}
+void LockScreenController::SetPinEnabledForUser(const AccountId& account_id,
+ bool is_enabled) {
+ NOTIMPLEMENTED();
+}
+
void LockScreenController::AuthenticateUser(const AccountId& account_id,
const std::string& password,
bool authenticated_by_pin) {
@@ -82,6 +87,37 @@ void LockScreenController::RecordClickOnLockIcon(const AccountId& account_id) {
lock_screen_client_->RecordClickOnLockIcon(account_id);
}
+void LockScreenController::FocusPod(const AccountId& account_id) {
+ if (!lock_screen_client_)
+ return;
+ lock_screen_client_->FocusPod(account_id);
+}
+
+void LockScreenController::NoPodFocused() {
+ if (!lock_screen_client_)
+ return;
+ lock_screen_client_->NoPodFocused();
+}
+
+void LockScreenController::LoadWallpaper(const AccountId& account_id) {
+ if (!lock_screen_client_)
+ return;
+ lock_screen_client_->LoadWallpaper(account_id);
+}
+
+void LockScreenController::SignOutUser() {
+ if (!lock_screen_client_)
+ return;
+ lock_screen_client_->SignOutUser();
+}
+
+void LockScreenController::MaxIncorrectPasswordAttempts(
+ const AccountId& account_id) {
+ if (!lock_screen_client_)
+ return;
+ lock_screen_client_->MaxIncorrectPasswordAttempts(account_id);
+}
+
void LockScreenController::DoAuthenticateUser(const AccountId& account_id,
const std::string& password,
bool authenticated_by_pin,

Powered by Google App Engine
This is Rietveld 408576698