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

Unified Diff: components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc

Issue 538543003: Fix copying of SAML IdP cookies on subsequent logins (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update tests. Created 6 years, 3 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 | « chrome/browser/chromeos/login/profile_auth_data_unittest.cc ('k') | net/cookies/cookie_monster.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc
diff --git a/components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc b/components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc
index 7477df6055d6422990ca4c9ba26a6674c6d67b73..9c9f73a749fe8b8c60d271eec24ae9ed5bd89fc1 100644
--- a/components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc
+++ b/components/autofill/content/browser/wallet/wallet_signin_helper_unittest.cc
@@ -144,7 +144,7 @@ TEST_F(WalletSigninHelperTest, GetWalletCookieValueWhenPresent) {
net::CookieList cookie_list;
cookie_list.push_back(*cookie);
- cookie_monster->InitializeFrom(cookie_list);
+ cookie_monster->ImportCookies(cookie_list);
request_context_->GetURLRequestContext()
->set_cookie_store(cookie_monster);
signin_helper_->StartWalletCookieValueFetch();
@@ -166,7 +166,7 @@ TEST_F(WalletSigninHelperTest, GetWalletCookieValueWhenMissing) {
net::CookieList cookie_list;
cookie_list.push_back(*cookie);
- cookie_monster->InitializeFrom(cookie_list);
+ cookie_monster->ImportCookies(cookie_list);
request_context_->GetURLRequestContext()
->set_cookie_store(cookie_monster);
signin_helper_->StartWalletCookieValueFetch();
« no previous file with comments | « chrome/browser/chromeos/login/profile_auth_data_unittest.cc ('k') | net/cookies/cookie_monster.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698