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

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

Issue 842163002: LoginDatabase::AddLogin should handle correctly incorrect input. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DoesMatchConstraints Created 5 years, 11 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
« no previous file with comments | « components/password_manager/core/browser/login_database_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 12dbe5739da12c1ebe4249011076c0f73afe3816..2756a61f857a31abc88a4c8bc1b32659c7cac4fc 100644
--- a/components/password_manager/core/browser/password_store_unittest.cc
+++ b/components/password_manager/core/browser/password_store_unittest.cc
@@ -201,6 +201,8 @@ TEST_F(PasswordStoreTest, StartSyncFlare) {
base::Bind(&StartSyncFlareMock::StartSyncFlare, base::Unretained(&mock)));
{
PasswordForm form;
+ form.origin = GURL("http://accounts.google.com/LoginAuth");
+ form.signon_realm = "http://accounts.google.com/";
EXPECT_CALL(mock, StartSyncFlare(syncer::PASSWORDS));
store->AddLogin(form);
base::MessageLoop::current()->RunUntilIdle();
« no previous file with comments | « components/password_manager/core/browser/login_database_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698