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

Unified Diff: components/safe_browsing/password_protection/password_protection_service_unittest.cc

Issue 2949243004: Distinguish G Suite accounts from regular gmail/googlemail accounts (Closed)
Patch Set: nits 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: components/safe_browsing/password_protection/password_protection_service_unittest.cc
diff --git a/components/safe_browsing/password_protection/password_protection_service_unittest.cc b/components/safe_browsing/password_protection/password_protection_service_unittest.cc
index 22fe4cfbbc6765a016f876a3bf59214a774b3c5f..110479f421c72fb2863f9f03daca8417fe5cdfd8 100644
--- a/components/safe_browsing/password_protection/password_protection_service_unittest.cc
+++ b/components/safe_browsing/password_protection/password_protection_service_unittest.cc
@@ -118,6 +118,11 @@ class TestPasswordProtectionService : public PasswordProtectionService {
bool IsHistorySyncEnabled() override { return false; }
+ LoginReputationClientRequest::PasswordReuseEvent::SyncAccountType
+ GetSyncAccountType() override {
+ return LoginReputationClientRequest::PasswordReuseEvent::NOT_SIGNED_IN;
+ }
+
LoginReputationClientResponse* latest_response() {
return latest_response_.get();
}
« no previous file with comments | « components/safe_browsing/password_protection/password_protection_service.h ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698