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

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: address roger's comments Created 5 years, 7 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 92defc007f0ab789d31cac7c87a1bf3b7a3eb575..df8e92f1051a0608989efa117d937eedf707d9cf 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
@@ -50,7 +50,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