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

Unified Diff: components/password_manager/core/browser/password_store_unittest.cc

Issue 2777283004: Do not build Password Reuse on Android and iOS (Closed)
Patch Set: Introduced gn var Created 3 years, 9 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: components/password_manager/core/browser/password_store_unittest.cc
diff --git a/components/password_manager/core/browser/password_store_unittest.cc b/components/password_manager/core/browser/password_store_unittest.cc
index 9a16268919ce7b60641ae57527a825f27d42bef3..d30929d58caa0ce3e6de91c89c767eb1625c5b84 100644
--- a/components/password_manager/core/browser/password_store_unittest.cc
+++ b/components/password_manager/core/browser/password_store_unittest.cc
@@ -844,6 +844,7 @@ TEST_F(PasswordStoreTest, GetLoginsWithAffiliatedRealms) {
}
}
+#if defined(PASSWORD_REUSE_DETECTION_SUPPORT)
TEST_F(PasswordStoreTest, CheckPasswordReuse) {
static constexpr PasswordFormData kTestCredentials[] = {
{PasswordForm::SCHEME_HTML, "https://www.google.com",
@@ -899,5 +900,6 @@ TEST_F(PasswordStoreTest, CheckPasswordReuse) {
OSCryptMocker::TearDown();
#endif
}
+#endif
} // namespace password_manager

Powered by Google App Engine
This is Rietveld 408576698