Revert "[Smartlock] Add metadata for LoginAuthFactorsView for testing."
This reverts commit b1d6b19d5a4e2b807cbd99c975e767988cceada5.
Reason for revert: This change is no longer needed as we decided to use a different way to solve the problem for this bug.
Original change's description:
> [Smartlock] Add metadata for LoginAuthFactorsView for testing.
>
> This is required for us to track an animation that we need to wait for
> completion of during a smartlock.Unlock e2e test.
>
> Change-Id: If4b7a106229bd2a863474b48a36801ce213f540e
> Bug: b/226204290
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3570060
> Reviewed-by: Curt Clemens <cclem@google.com>
> Reviewed-by: Ryan Hansberry <hansberry@chromium.org>
> Commit-Queue: Jason Rhee <jasonrhee@google.com>
> Cr-Commit-Position: refs/heads/main@{#988795}
Bug: b/226204290
Change-Id: Id83f6cbd87ccd4d79c9b5ddc18814034d1d02dba
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3575675
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Reviewed-by: Ryan Hansberry <hansberry@chromium.org>
Reviewed-by: Curt Clemens <cclem@google.com>
Commit-Queue: Jason Rhee <jasonrhee@google.com>
Cr-Commit-Position: refs/heads/main@{#990037}
diff --git a/ash/login/ui/login_auth_factors_view.cc b/ash/login/ui/login_auth_factors_view.cc
index 52899efa..653ef26 100644
--- a/ash/login/ui/login_auth_factors_view.cc
+++ b/ash/login/ui/login_auth_factors_view.cc
@@ -18,7 +18,6 @@
#include "base/time/time.h"
#include "ui/accessibility/ax_enums.mojom.h"
#include "ui/base/l10n/l10n_util.h"
-#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/compositor/layer.h"
#include "ui/compositor/layer_animation_sequence.h"
#include "ui/compositor/layer_animator.h"
@@ -558,7 +557,4 @@
should_hide_password_field);
}
-BEGIN_METADATA(LoginAuthFactorsView, View)
-END_METADATA
-
} // namespace ash
diff --git a/ash/login/ui/login_auth_factors_view.h b/ash/login/ui/login_auth_factors_view.h
index 7f3025b7..cff0608 100644
--- a/ash/login/ui/login_auth_factors_view.h
+++ b/ash/login/ui/login_auth_factors_view.h
@@ -11,7 +11,6 @@
#include "ash/login/ui/auth_factor_model.h"
#include "base/callback.h"
#include "base/timer/timer.h"
-#include "ui/base/metadata/metadata_header_macros.h"
#include "ui/views/view.h"
namespace views {
@@ -29,7 +28,6 @@
// login screens.
class ASH_EXPORT LoginAuthFactorsView : public views::View {
public:
- METADATA_HEADER(LoginAuthFactorsView);
using AuthFactorState = AuthFactorModel::AuthFactorState;
// TestApi is used for tests to get internal implementation details.