Commit dd78a355 authored by edchin's avatar edchin Committed by Commit Bot

[ios][PhishGuard] Remove unnecessary use of PASSWORD_REUSE_DETECTION_ENABLED

Design doc: go/bling-phishguard

This CL continues work to compile code in iOS that was previously
disabled behind PASSWORD_REUSE_DETECTION_ENABLED.

Bug: 1147962
Change-Id: I6a22a7b44d3b2948a99cc5e0dbe409061ec22745
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2537593
Commit-Queue: edchin <edchin@chromium.org>
Reviewed-by: default avatarVasilii Sukhanov <vasilii@chromium.org>
Reviewed-by: default avatarAli Juma <ajuma@chromium.org>
Cr-Commit-Position: refs/heads/master@{#827289}
parent 05ad3d7b
......@@ -15,10 +15,6 @@
#include "components/prefs/testing_pref_service.h"
#include "testing/gtest/include/gtest/gtest.h"
#if defined(PASSWORD_REUSE_DETECTION_ENABLED)
#include "components/safe_browsing/core/common/safe_browsing_prefs.h" // nogncheck
#endif // PASSWORD_REUSE_DETECTION_ENABLED
using base::ASCIIToUTF16;
namespace password_manager {
......@@ -134,21 +130,5 @@ TEST_F(PasswordSyncUtilTest, IsSyncAccountEmail) {
}
}
#if defined(PASSWORD_REUSE_DETECTION_ENABLED)
class PasswordSyncUtilEnterpriseTest : public SyncUsernameTestBase {
public:
void SetUp() override {
// prefs_ = std::make_unique<TestingPrefServiceSimple>();
prefs_.registry()->RegisterListPref(prefs::kPasswordProtectionLoginURLs);
prefs_.registry()->RegisterStringPref(
prefs::kPasswordProtectionChangePasswordURL, "");
}
protected:
TestingPrefServiceSimple prefs_;
};
#endif // PASSWORD_REUSE_DETECTION_ENABLED
} // namespace sync_util
} // namespace password_manager
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