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

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: Rebase 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 ddba3ee7fa9e2cdec232c6a240688666b1af49da..6bed271e7ae1e536182d2d2f3624e58d5c1d788c 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();
}

Powered by Google App Engine
This is Rietveld 408576698