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

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

Issue 2912383004: Fill is_chrome_signin_password field in the password entry pings. (Closed)
Patch Set: address nparker's comments 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/password_manager/core/browser/password_reuse_detector_unittest.cc
diff --git a/components/password_manager/core/browser/password_reuse_detector_unittest.cc b/components/password_manager/core/browser/password_reuse_detector_unittest.cc
index 94d2fa82665967e353f11145145f646ddc411f54..2f45d16d099c4c435e2c2ed4732d0ba7f081da0a 100644
--- a/components/password_manager/core/browser/password_reuse_detector_unittest.cc
+++ b/components/password_manager/core/browser/password_reuse_detector_unittest.cc
@@ -209,8 +209,9 @@ TEST(PasswordReuseDetectorTest, SyncPasswordReuseFound) {
reuse_detector.SaveSyncPasswordHash(ASCIIToUTF16("sync_password"));
- EXPECT_CALL(mockConsumer, OnReuseFound(ASCIIToUTF16("sync_password"),
- "accounts.google.com", 1, 0));
+ EXPECT_CALL(mockConsumer,
+ OnReuseFound(ASCIIToUTF16("sync_password"),
+ std::string(kSyncPasswordDomain), 1, 0));
reuse_detector.CheckReuse(ASCIIToUTF16("sync_password"), "https://evil.com",
&mockConsumer);
}

Powered by Google App Engine
This is Rietveld 408576698