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

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

Issue 1143323005: Refactor AO2TS to make it easier to componentize. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: works for all platforms commit e75a498951318d4deb65d40ce8b2def44cd5abc0 Created 5 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/autofill/content/browser/wallet/real_pan_wallet_client_unittest.cc
diff --git a/components/autofill/content/browser/wallet/real_pan_wallet_client_unittest.cc b/components/autofill/content/browser/wallet/real_pan_wallet_client_unittest.cc
index 4bbc78c8ee927fafac40f7fae2dde33a259f7584..6471b324fde961d1089c2a5bcd1a9bdb41536f71 100644
--- a/components/autofill/content/browser/wallet/real_pan_wallet_client_unittest.cc
+++ b/components/autofill/content/browser/wallet/real_pan_wallet_client_unittest.cc
@@ -51,7 +51,8 @@ class RealPanWalletClientTest : public testing::Test,
protected:
void StartUnmasking() {
- token_service_->AddAccount("example@gmail.com");
+ token_service_->GetDelegate()->UpdateCredentials("example@gmail.com",
+ "refresh_token");
identity_provider_->LogIn("example@gmail.com");
CreditCard card = test::GetMaskedServerCard();
CardUnmaskDelegate::UnmaskResponse response;

Powered by Google App Engine
This is Rietveld 408576698