Commit 97131558 authored by Roman Sorokin's avatar Roman Sorokin Committed by Commit Bot

Remove todos about ScreenlockBridge::EnableInput

Still used in EasyUnlockAuthAttempt

Fixed: 927498
Change-Id: Ice2c8c791d808349b508b6af79e684ca203644d2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2035972Reviewed-by: default avatarAlexander Alekseev <alemate@chromium.org>
Commit-Queue: Roman Sorokin [CET] <rsorokin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#738472}
parent 03a86607
...@@ -99,8 +99,6 @@ class TestLockHandler : public proximity_auth::ScreenlockBridge::LockHandler { ...@@ -99,8 +99,6 @@ class TestLockHandler : public proximity_auth::ScreenlockBridge::LockHandler {
ADD_FAILURE() << "Should not be reached."; ADD_FAILURE() << "Should not be reached.";
} }
// TODO(crbug.com/927498): This tests is the only dependency on
// ScreenlockBridge::EnableInput. It should be removed.
void EnableInput() override { void EnableInput() override {
ASSERT_EQ(STATE_ATTEMPTING_UNLOCK, state_); ASSERT_EQ(STATE_ATTEMPTING_UNLOCK, state_);
state_ = STATE_UNLOCK_CANCELED; state_ = STATE_UNLOCK_CANCELED;
......
...@@ -110,8 +110,6 @@ class ScreenlockBridge { ...@@ -110,8 +110,6 @@ class ScreenlockBridge {
virtual void HideUserPodCustomIcon(const AccountId& account_id) = 0; virtual void HideUserPodCustomIcon(const AccountId& account_id) = 0;
// (Re)enable lock screen UI. // (Re)enable lock screen UI.
// TODO(crbug.com/927498): Remove TestLockHandler dependency on this, and
// then remove this method.
virtual void EnableInput() = 0; virtual void EnableInput() = 0;
// Set the authentication type to be used on the lock screen. // Set the authentication type to be used on the lock screen.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment