Index: components/autofill/browser/wallet/wallet_client.h |
diff --git a/components/autofill/browser/wallet/wallet_client.h b/components/autofill/browser/wallet/wallet_client.h |
index 922ec6f07ba23233c2c1d557a87df029e8b9b776..1316271b6c7d8dcdaa1502b30762d62d17d78939 100644 |
--- a/components/autofill/browser/wallet/wallet_client.h |
+++ b/components/autofill/browser/wallet/wallet_client.h |
@@ -159,7 +159,7 @@ class WalletClient |
}; |
// |context_getter| is reference counted so it has no lifetime or ownership |
- // requirements. |observer| must outlive |this|. |
+ // requirements. |delegate| must outlive |this|. |
WalletClient(net::URLRequestContextGetter* context_getter, |
WalletClientDelegate* delegate); |
@@ -183,11 +183,12 @@ class WalletClient |
// Authenticates that |card_verification_number| is for the backing instrument |
// with |instrument_id|. |obfuscated_gaia_id| is used as a key when escrowing |
- // |card_verification_number|. |observer| is notified when the request is |
+ // |card_verification_number|. |delegate_| is notified when the request is |
// complete. Used to respond to Risk challenges. |
- void AuthenticateInstrument(const std::string& instrument_id, |
- const std::string& card_verification_number, |
- const std::string& obfuscated_gaia_id); |
+ virtual void AuthenticateInstrument( |
+ const std::string& instrument_id, |
+ const std::string& card_verification_number, |
+ const std::string& obfuscated_gaia_id); |
// GetFullWallet retrieves the a FullWallet for the user. |
virtual void GetFullWallet(const FullWalletRequest& full_wallet_request); |